Linus Torvalds [off-list ref] writes:
On Tue, 13 Dec 2005, Junio C Hamano wrote:
quoted
*1* Sometimes I wish we had "cvs co -p" equivalent.
$ git cat-blob rev path
Perhaps?
Isn't "git-ls-tree rev path" good enough? Maybe you want to wrap it with
#!/bin/sh
git-ls-tree "$@" |
while read mode type sha name
do
git-cat-file $type $sha
done
or something?
Exactly. The point was that we do not ship a prepackaged script
like that.