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

Re: [RFC] use typechange as rename source

From
Jeff King <peff@peff.net>
Date
Dec 3, 2007, 01:20 UTC
Message-ID
<20071203012022.GA8322@coredump.intra.peff.net>
In-Reply-To
<7v8x4cykkj.fsf@gitster.siamese.dyndns.org>
On Sun, Dec 02, 2007 at 11:15:40AM -0800, Junio C Hamano wrote:
Show 10 quoted lines
> > @@ -250,6 +250,7 @@ static void wt_status_print_updated(struct wt_status *s)
> > +	rev.diffopt.break_opt = 0;
> 
> I have to wonder how much this is going to make things worse in the real
> world, although I agree in the "as we already spend cycles for
> detect_rename why not" sense.
> 
> With the recent change from Alex not to run status when not interactive,
> it probably does not matter.  If we are going to spawn an editor, we are
> dealing with human interaction and even -B -M should not be too bad.

I had more or less the same thinking, but I don't have any real-world numbers. I would be curious to see averages on how diffcore-break compares to diffcore-rename. Just thinking about it, it seems intuitive that breaking would always be cheaper, which means that adding "-B" to "-M" won't have a significant performance impact.

-Peff
Previous: Junio C Hamano
Message 14 of 14 in “[RFC] use typechange as rename source”
  1. Jeff KingNov 21, 2007
  2. Junio C HamanoNov 29, 2007
  3. Jeff KingNov 29, 2007
  4. Junio C HamanoNov 30, 2007
  5. Jeff KingNov 30, 2007
  6. Junio C HamanoDec 1, 2007
  7. Jeff KingDec 1, 2007
  8. Junio C HamanoDec 1, 2007
  9. Junio C HamanoDec 1, 2007
  10. Jeff KingDec 1, 2007
  11. Junio C HamanoDec 1, 2007
  12. Jeff KingDec 1, 2007
  13. Junio C HamanoDec 2, 2007
  14. Jeff KingDec 3, 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.