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

Re: tracking renames

From
Steven Grimm <koreth@midwinter.com>
Date
Mar 7, 2008, 08:19 UTC
Message-ID
<526E4B08-9F52-461E-B542-4549987C4DFE@midwinter.com>
In-Reply-To
<200803051715.58375.jnareb@gmail.com>
On Mar 5, 2008, at 8:15 AM, Jakub Narebski wrote:
> No, you are not the only one. Use Bazaar-NG (bzr) or Mercurial (hg)
> if you think you truly need rename _tracking_ as opposed to rename
> _detection_.

Having watched (and participated in) this discussion several times as it's come up on the list, the one thing I don't understand is why people -- not you, but others -- think this has to be an "as opposed to" issue. I have yet to see anyone propose that git should lose its rename detection, but the counterarguments and explanations about how inferior rename tracking is often seem to presuppose that that's what's being asked for.

I think the setup the pro-rename-tracking crowd mostly wants is, "git always treats explicitly specified renames as renames and uses its current detection regime if there is no explicit specification." As you say later on in the parent message, a wish-list item that hasn't become reality yet.

I am not saying I think it's too important, BTW; I'm just trying to clarify the other point of view. Personally, my only major wish item for git's rename support is better handling of directory renames, but I don't really care how git knows that the directory in question has been renamed. The file rename support has worked very well for me in practice.

-Steve
Previous: Jakub NarebskiNext: Johannes Schindelin
Message 7 of 9 in “tracking renames”
  1. Andrew MortonMar 4, 2008
  2. Harvey HarrisonMar 4, 2008
  3. Andrew MortonMar 4, 2008
  4. Jakub NarebskiMar 4, 2008
  5. Jean-François VeilletteMar 5, 2008
  6. Jakub NarebskiMar 5, 2008
  7. Steven GrimmMar 7, 2008
  8. Johannes SchindelinMar 5, 2008
  9. Martin LanghoffMar 5, 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.