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]

 



Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes:

> If you want to know which revisions contained a certain version
> of a file, just say
>
> 	git name-rev --file <filename>
>
> which will read the file, and give you a list of revisions
> containing a file with the same contents. If <filename> is "-",
> it will read the contents from stdin. Of course, this is a really
> expensive operation.

I expected this to take arbitrary object name and let the caller
to do 'hash-object', so that you could also find a certain tree,
not just blob.


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