Re: [PATCH 2/2] Teach name-rev to identify revisions containing a certain blob

From: Junio C Hamano <junkio@cox.net>
Date: 2007-02-18 19:48:08
Junio C Hamano <junkio@cox.net> writes:

> [Footnote]
>
> *1* To find a revision that had a particular object at a known
> path, you should be able to do:
>
> 	git rev-list <starting refs> |
>       git diff-tree --stdin --raw -r -Z |
> 	grep -z that-object-name

Sheesh, please add "-- <path>" after "-Z".

>
> but an earlier commit abd4e222 needs to be further enhanced to
> add -Z option that means "output fields are not NUL terminated,
> output records are", which did not happen.

-
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 Sun Feb 18 19:48:31 2007

This archive was generated by hypermail 2.1.8 : 2007-02-18 19:52:07 EST