diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-03-10 03:16:07 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-03-10 03:16:07 (GMT) |
commit | 4bfe5948721092588fac7c834f79a2477f0b9edf (patch) | |
tree | b0fea0cb6074cd09c195a8a8f6a7f1daa018dc56 | |
parent | a9aa89f29ce8f9515a2d37fe4a57447028d0e7ba (diff) | |
download | git-4bfe5948721092588fac7c834f79a2477f0b9edf.zip git-4bfe5948721092588fac7c834f79a2477f0b9edf.tar.gz git-4bfe5948721092588fac7c834f79a2477f0b9edf.tar.bz2 |
Meta/cook: make ":" to mean what is cached
-rwxr-xr-x | cook | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -942,6 +942,10 @@ if ($wildo) { open($fd, "-|", qw(git --git-dir=Meta/.git cat-file -p), "$ARGV[0]:whats-cooking.txt"); + } elsif ($ARGV[0] eq ":") { + open($fd, "-|", + qw(git --git-dir=Meta/.git cat-file -p), + ":whats-cooking.txt"); } else { open($fd, "<", $ARGV[0]); } |