Re: detecting rename->commit->modify->commit

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff King
Date: Thursday, May 1, 2008 - 4:14 pm

On Thu, May 01, 2008 at 12:12:33PM -0700, Steven Grimm wrote:


I do agree that the rename is probably more often desired.


Yes, I think that is largely a correct impression (although I think
Linus has spoken out against directory renaming in the past, so there is
at least a little bit of conscious effort). I suspect the right sequence
of steps to implement this would be:

  1. write a proof-of-concept that shows directory renaming after the
    fact (e.g., take a conflicted merge, scan the diff for directory
    renames, and then fix up the files). That way it is available, but
    doesn't impact git at all.

  2. If people think it is useful, build it into the diff and merge
     machinery so that it can happen automagically, but make it
     optional. Thus git fully supports it, but the policy decision is
     left up to the user.

  3. Make it the default if it is the common choice.

So we just need somebody to volunteer to work on 1. ;)

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
detecting rename->commit->modify->commit, Ittay Dror, (Thu May 1, 7:10 am)
Re: detecting rename->commit->modify->commit, Avery Pennarun, (Thu May 1, 8:27 am)
Re: detecting rename->commit->modify->commit, Jakub Narebski, (Thu May 1, 8:47 am)
Re: detecting rename->commit->modify->commit, Avery Pennarun, (Thu May 1, 8:50 am)
Re: detecting rename->commit->modify->commit, Sitaram Chamarty, (Thu May 1, 9:39 am)
Re: detecting rename->commit->modify->commit, Steven Grimm, (Thu May 1, 12:12 pm)
Re: detecting rename->commit->modify->commit, Avery Pennarun, (Thu May 1, 12:45 pm)
Re: detecting rename->commit->modify->commit, Teemu Likonen, (Thu May 1, 1:39 pm)
Re: detecting rename->commit->modify->commit, Jeff King, (Thu May 1, 4:14 pm)
Re: detecting rename->commit->modify->commit, Sitaram Chamarty, (Thu May 1, 7:06 pm)
Re: detecting rename->commit->modify->commit, Junio C Hamano, (Thu May 1, 7:38 pm)
Re: detecting rename->commit->modify->commit, Sitaram Chamarty, (Fri May 2, 9:59 am)
Re: merge renamed files/directories?, Ittay Dror, (Sat May 3, 11:08 pm)
Re: merge renamed files/directories?, Jakub Narebski, (Sun May 4, 2:34 am)
Re: merge renamed files/directories?, Avery Pennarun, (Mon May 5, 9:40 am)
Re: merge renamed files/directories?, Robin Rosenberg, (Mon May 5, 2:49 pm)
Re: merge renamed files/directories?, Linus Torvalds, (Mon May 5, 3:20 pm)
Re: merge renamed files/directories?, Steven Grimm, (Mon May 5, 4:07 pm)
Re: merge renamed files/directories?, Linus Torvalds, (Mon May 5, 5:29 pm)
Re: merge renamed files/directories?, Linus Torvalds, (Mon May 5, 5:40 pm)
Re: merge renamed files/directories?, Avery Pennarun, (Mon May 5, 6:38 pm)
Re: merge renamed files/directories?, Shawn O. Pearce, (Mon May 5, 6:46 pm)
Re: merge renamed files/directories?, Avery Pennarun, (Mon May 5, 6:58 pm)
Re: merge renamed files/directories?, Shawn O. Pearce, (Mon May 5, 7:12 pm)
Re: merge renamed files/directories?, Linus Torvalds, (Mon May 5, 7:19 pm)
Re: merge renamed files/directories?, Theodore Tso, (Tue May 6, 8:47 am)
Re: merge renamed files/directories?, Linus Torvalds, (Tue May 6, 9:10 am)
Re: merge renamed files/directories?, Linus Torvalds, (Tue May 6, 9:15 am)
Re: merge renamed files/directories?, Ittay Dror, (Tue May 6, 9:32 am)
Re: merge renamed files/directories?, Linus Torvalds, (Tue May 6, 9:39 am)