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

Re: rm and add, but not rename, of identical files

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Oct 10, 2012, 20:09 UTC
Message-ID
<m2wqyyw0l0.fsf@igel.home>
In-Reply-To
<1349894347.32696.10.camel@drew-northup.unet.maine.edu>
Drew Northup <drew.northup@maine.edu> writes:
> It detects the changes as renames however—which in this case isn't
> appropriate:

Why is that a problem? A rename is just something which is computed on the fly for display purpose, the repository only stores a snapshot of the resulting tree.

Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Drew NorthupNext: Junio C Hamano
Message 2 of 5 in “rm and add, but not rename, of identical files”
  1. Drew NorthupOct 10, 2012
  2. Andreas SchwabOct 10, 2012
  3. Junio C HamanoOct 10, 2012
  4. Drew NorthupOct 11, 2012
  5. Junio C HamanoOct 11, 2012

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.