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

Re: [PATCH 1/2] fast-export: deletion action first

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 25, 2017, 05:33 UTC
Message-ID
<xmqqy3upuk4o.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20170425044641.sx5uoql4oiug6iq7@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> Anyway. I don't think Miguel's patch needs to solve all of the lingering
> rename cases. But I am curious whether it makes some rename cases worse,
> because the depth-sorting was kicking in before and making them work.

I agree with you on both counts, and I care more about the second sentence, not just "am curious", but "am worried". I am not sure that this patch is safe---it looked more like robbing peter to pay paul or the other way around. Fixing for one class of breakage without regressing is one thing and it is perfectly fine to leave some already broken case broken with such a fix. Claiming to fix one class and breaking other class that was happily working is quite different, and that is where my "Wait, we also allow renames?" comes from.

Previous: Jeff KingNext: Jeff King
Message 6 of 9 in “fast-export: deletion action first”
  1. 1/2 fast-export: deletion action firstMiguel Torroja, Apr 25, 2017
  2. 2/2 fast-export: DIFF_STATUS_RENAMED instead of 'R'Miguel Torroja, Apr 25, 2017
  3. Jeff KingApr 25, 2017
  4. Junio C HamanoApr 25, 2017
  5. Jeff KingApr 25, 2017
  6. Junio C HamanoApr 25, 2017
  7. Jeff KingApr 25, 2017
  8. fast-export: deletion action firstMiguel Torroja, May 4, 2017
  9. miguel torrojaMay 4, 2017

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.