Meta/cook: make ":" to mean what is cached

This commit is contained in:
Junio C Hamano
2020-03-09 20:16:07 -07:00
parent a9aa89f29c
commit 4bfe594872

4
cook
View File

@@ -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]);
}