Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Tip of the day: archaeology

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:14

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help