Re: Tip of the day: archaeology

From: Junio C Hamano <junkio@cox.net>
Date: 2005-12-14 09:19:39
Linus Torvalds <torvalds@osdl.org> writes:

> 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.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Dec 14 09:20:15 2005

This archive was generated by hypermail 2.1.8 : 2005-12-14 09:20:22 EST