Re: Tip of the day: archaeology
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 13, 2005, 22:19 UTC
- Message-ID
- <7vbqzk7i84.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0512131351100.4184@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 18 quoted lines
> On Tue, 13 Dec 2005, Junio C Hamano wrote: >> >> *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.