Re: file rename causes history to disappear

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

 




On Wed, 6 Sep 2006, Jakub Narebski wrote:
> 
> So if/when git would have --follow option to git-log and git-diff-*, it
> would be rather --follow=<filename>, rather than --follow -- <paths>?

That would probably be sensible, yes. Especially since "--follow" is 
fundamentally different from the "<paths>" thing in that you really should 
be able to only follow a single file.

(Following multiple files causes huge amounts of pain - it might be 
possible, but I don't think it's worth it).

> git-rev-list could then output hash with current set of <filenames>, which
> were given <filename> at the beginning, i.e.
>   <hash> -- <filename> [<filename>...]

I would argue that "--follow" would be incompatible with having other 
<paths> listed. But maybe there is some sensible rule for what the 
combination means (show the listed paths _and_ the file we're following?) 
I dunno.

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