From: Junio C Hamano Date: Sun, 18 Feb 2007 08:48:08 GMT Subject: Re: [PATCH 2/2] Teach name-rev to identify revisions containing a certain blob Message-ID: <7vejonj1h3.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <7vmz3bj248.fsf@assigned-by-dhcp.cox.net> Junio C Hamano 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 | > git diff-tree --stdin --raw -r -Z | > grep -z that-object-name Sheesh, please add "-- " 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.