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

Re: Handling renames.

From
Linus Torvalds <torvalds@osdl.org>
Date
Oct 22, 2005, 01:28 UTC
Message-ID
<Pine.LNX.4.64.0510211826350.10477@g5.osdl.org>
In-Reply-To
<20051022004743.GN30889@pasky.or.cz>
On Sat, 22 Oct 2005, Petr Baudis wrote:
> 
>   How to track renames? I believe the situation has changed in the last
> half a year.
I disagree.

Every single thing that said that renames were a bad idea to track when git started is still equally true.

>   If I convince you that it is worth tracking the renames explicitly,
> "how" is already a minor question.
Never. I'm 100% convinced that tracking renames is WRONG WRONG WRONG.
You can follow renames _afterwards_. 

Git tracks contents. And I think we've proven that figuring out renames after-the-fact from those contents is not only doable, but very well supported already.

I'm convinced that git handles renames better than any other SCM ever. Exactly because we figure it out when it matters.

		Linus
Previous: Petr BaudisNext: Petr Baudis
Message 6 of 20 in “git-rev-list: add "--dense" flag”
  1. Linus TorvaldsOct 21, 2005
  2. Linus TorvaldsOct 21, 2005
  3. Linus TorvaldsOct 21, 2005
  4. Petr BaudisOct 22, 2005
  5. Handling renames.Petr Baudis, Oct 22, 2005
  6. Linus TorvaldsOct 22, 2005
  7. Petr BaudisOct 22, 2005
  8. Junio C HamanoOct 22, 2005
  9. Petr BaudisOct 22, 2005
  10. Linus TorvaldsOct 22, 2005
  11. Linus TorvaldsOct 22, 2005
  12. Petr BaudisOct 22, 2005
  13. Linus TorvaldsOct 22, 2005
  14. Junio C HamanoOct 22, 2005
  15. Linus TorvaldsOct 22, 2005
  16. Jonas FonsecaOct 25, 2005
  17. Linus TorvaldsOct 25, 2005
  18. Jonas FonsecaOct 25, 2005
  19. Linus TorvaldsOct 25, 2005
  20. Linus TorvaldsOct 25, 2005

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.