Re: [RFC PATCH] detection of directory renames
- From
Yann Dirson <ydirson@altern.org>
- Date
- Sep 26, 2008, 19:06 UTC
- Message-ID
- <20080926190614.GA4985@nan92-1-81-57-214-146.fbx.proxad.net>
- In-Reply-To
- <m3bpyb3jci.fsf@localhost.localdomain>
On Thu, Sep 25, 2008 at 04:19:20PM -0700, Jakub Narebski wrote:
> Wonderfull!!!
Wow, I love this feedback :)
Show 5 quoted lines
> I like it very much, and hope that it would get improved. And that you > would be able to use it in merges too, to allow for example for new > files to be created in renamed directory instead of old one which does > not exist any longer (c.f. http://www.markshuttleworth.com/archives/123 > and following articles).
Yes, that's one of planned things. Along the same line (once renames are stabilized), I think about extending things so that "split dirs" are detected as well, so merge can flag a conflict when there is a doubt that a file would really be added in a "split directory". The situation may be obvious in my example (arm/ contents dispatched into bar/ and moved/), but may also be useful when we can detect that a significant number of files have been moved out of a directory.
> For the future, could you show examples with --abbrev option in use? TIA.
Good idea.
Best regards,
-- Yann