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

Re: [PATCH 2/2] Fix the rename detection limit checking

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Sep 14, 2007, 18:49 UTC
Message-ID
<alpine.LFD.0.999.0709141146110.16478@woody.linux-foundation.org>
In-Reply-To
<alpine.LFD.0.999.0709141132250.16478@woody.linux-foundation.org>
On Fri, 14 Sep 2007, Linus Torvalds wrote:
> 
> but the patch I sent out was the "obvious" first one that at least avoided 
> the overflow for the triggerable case that Dmitry had, and as per above 
> likely in all reasonable cases...

Final note (I promise): the patch I sent out took "git runstatus" times on the workload I replicated from Dmitry down from "so long you'd ^C it" to about two seconds..

So I wanted to point out that this was not just the correctness issue of the overflow, but that the rename limiting really does need to be done for purely practical time reasons - doing the math in 64 bits would have avoided the overflow, but wouldn't have avoided the real reason for not wanting to do these kinds of things in the first place!

		Linus
Previous: Linus TorvaldsNext: Junio C Hamano
Message 8 of 13 in “git-commit: Disallow unchanged tree in non-merge mode”
  1. 1/2 git-commit: Disallow unchanged tree in non-merge modeDmitry V. Levin, Sep 5, 2007
  2. Shawn O. PearceSep 6, 2007
  3. Dmitry V. LevinSep 6, 2007
  4. Linus TorvaldsSep 14, 2007
  5. 1/2 Fix "git diff" setup codeLinus Torvalds, Sep 14, 2007
  6. 2/2 Fix the rename detection limit checkingLinus Torvalds, Sep 14, 2007
  7. Linus TorvaldsSep 14, 2007
  8. Linus TorvaldsSep 14, 2007
  9. Junio C HamanoSep 14, 2007
  10. Linus TorvaldsSep 14, 2007
  11. Junio C HamanoSep 14, 2007
  12. Linus TorvaldsSep 14, 2007
  13. Junio C HamanoSep 14, 2007

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.