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

Re: Intensive rename detection

From
Jeff King <peff@peff.net>
Date
Nov 5, 2008, 03:22 UTC
Message-ID
<20081105032220.GE20907@coredump.intra.peff.net>
In-Reply-To
<216e54900811032236l5ae4bde5v16ab6519962e428f@mail.gmail.com>
On Mon, Nov 03, 2008 at 10:36:42PM -0800, Andrew Arnott wrote:
> Yes, on git status.  I'm afraid I don't know how to look up the
> reference you gave.
Sorry, gmane is back up, so the link is:
  http://article.gmane.org/gmane.comp.version-control.git/99147

With that patch, and this one on top, "git status" should respect your rename limits (though I haven't tested it).

---
diff --git a/wt-status.c b/wt-status.c
index c3a9cab..0b92ac3 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -214,7 +214,6 @@ static void wt_status_print_updated(struct wt_status *s)
 	rev.diffopt.format_callback = wt_status_print_updated_cb;
 	rev.diffopt.format_callback_data = s;
 	rev.diffopt.detect_rename = 1;
-	rev.diffopt.rename_limit = 200;
 	rev.diffopt.break_opt = 0;
 	run_diff_index(&rev, 1);
 }

-Peff
Previous: Björn Steinbrink
Message 11 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.