git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Jakub NarebskiNext: Jakub Narebski
Message 9 of 11 in “diffcore and directory renames”
  1. Yann DirsonSep 1, 2008
  2. Junio C HamanoSep 1, 2008
  3. Yann DirsonSep 2, 2008
  4. detection of directory renamesYann Dirson, Sep 25, 2008
  5. Introduce patch factorization in diffcore.Yann Dirson, Sep 25, 2008
  6. Andreas EricssonSep 25, 2008
  7. Yann DirsonSep 26, 2008
  8. Jakub NarebskiSep 25, 2008
  9. Yann DirsonSep 26, 2008
  10. Jakub NarebskiOct 27, 2008
  11. Yann DirsonOct 27, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.