Re: detecting rename->commit->modify->commit
- From
Jeff King <peff@peff.net>
- Date
- May 1, 2008, 15:28 UTC
- Message-ID
- <20080501152859.GA11469@sigill.intra.peff.net>
- In-Reply-To
- <4819E0AE.40602@tikalk.com>
On Thu, May 01, 2008 at 06:24:30PM +0300, Ittay Dror wrote:
Show 7 quoted lines
> Btw, this happened to me in a real use case. I wanted to restructure a > source tree. So I put it under git and started to happily move things > around, always committing after a move. I thought that git will correctly > identify these moves and show me the differences I made after (in a > separate commit). But it doesn't, and now that I want to prepare a > summary of the changes I've made, I'm stuck with a huge diff that is hard > to make sense of.
If you have a specific case where you think renames should have been detected but they weren't, by all means, please share it. It's possible that there is a bug in the rename detection, or that the limits are not set correctly, and we could improve it.
-Peff