Re: file rename causes history to disappear
- From
- Timo Hirvonen <tihirvon@gmail.com>
- Date
- Sep 6, 2006, 15:05 UTC
- Message-ID
- <20060906180514.698c9cba.tihirvon@gmail.com>
- In-Reply-To
- <44FEE0BB.2060601@garzik.org>
Jeff Garzik <jeff@garzik.org> wrote:
Show 8 quoted lines
> 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/