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

Re: Intensive rename detection

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Nov 4, 2008, 04:23 UTC
Message-ID
<alpine.LFD.2.00.0811032022580.3419@nehalem.linux-foundation.org>
In-Reply-To
<alpine.LFD.2.00.0811032021210.3419@nehalem.linux-foundation.org>
On Mon, 3 Nov 2008, Linus Torvalds wrote:
Show 7 quoted lines
> 
> You could try adding
> 
> 	[diff]
> 		renamelimit=0
> 
> to your ~/.gitconfig file. It can be quite expensive though.

Oh, and obviously Junio is right that some create/deletes won't be seen as renames anyway, if you changed enough of the file and/or if the files in question are so small that they end up being considered rewrites just because of that.

		Linus
Previous: Linus TorvaldsNext: Jeff King
Message 4 of 11 in “Re: Intensive rename detection”
  1. Andrew ArnottNov 4, 2008
  2. Junio C HamanoNov 4, 2008
  3. Linus TorvaldsNov 4, 2008
  4. Linus TorvaldsNov 4, 2008
  5. Jeff KingNov 4, 2008
  6. Andrew ArnottNov 4, 2008
  7. Andrew ArnottNov 4, 2008
  8. Jeff KingNov 4, 2008
  9. Andrew ArnottNov 4, 2008
  10. Björn SteinbrinkNov 4, 2008
  11. Jeff KingNov 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.