Re: file rename causes history to disappear

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

 



Jeff Garzik <jeff@xxxxxxxxxx> wrote:

> I moved a bunch of SATA drivers in the Linux kernel from drivers/scsi to 
> drivers/ata.
> 
> When I tried to look at the past history of a file using 
> git-whatchanged, post-rename, it only shows the history from HEAD to the 
> point of rename.  Everything prior to the rename is lost.
> 
> I also tried git-whatchanged on the old path, but that produces an error.

Try "git log -- old/path/...".  Path limiting works without "--" only if
the path exists.

-- 
http://onion.dynserv.net/~timo/
-
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]