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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <junkio@xxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]