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

en/remerge-diff [Was: Re: What's cooking in git.git (Sep 2021, #09; Thu, 30)]

From
Elijah Newren <newren@gmail.com>
Date
Oct 1, 2021, 06:31 UTC
Message-ID
<CABPp-BH2C5HFw_=NtK71oNGXkntzcJd2un0TgMb=UnJ5yJxAAA@mail.gmail.com>
In-Reply-To
<xmqqh7e18soj.fsf@gitster.g>
On Thu, Sep 30, 2021 at 6:09 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
>
> * en/remerge-diff (2021-08-31) 7 commits
>  - doc/diff-options: explain the new --remerge-diff option
>  - show, log: provide a --remerge-diff capability
>  - tmp-objdir: new API for creating and removing primary object dirs
>  - merge-ort: capture and print ll-merge warnings in our preferred fashion
>  - ll-merge: add API for capturing warnings in a strbuf instead of stderr
>  - merge-ort: add ability to record conflict messages in a file
>  - merge-ort: mark a few more conflict messages as omittable
>
>  A new presentation for two-parent merge "--remerge-diff" can be
>  used to show the difference between mechanical (and possibly
>  conflicted) merge results and the recorded resolution.
>
>  Will merge to 'next'?

No, please mark it as expecting an update. Peff made multiple good suggestions in his recent review:

  * Modify the ll-merge API to return an enum status instead of
printing warning messages about binary files, and let callers handle
it
  * Replace the new auxiliary files containing conflict messages, with
auxiliary diff headers containing conflict messages
  * Do something different with the tmp-objdir usage or use
pretend_object_file().  I'm slightly worried the latter was only
designed for a few files that all fit into memory, which may not be
valid for this usecase.

And ns/batched-fsync now semantically conflicts slightly in that we both extended the tmp-objdir API in similar but slightly different ways. So that needs to be worked out...

Previous: Junio C HamanoNext: Jeff King
Message 5 of 15 in “What's cooking in git.git (Sep 2021, #09; Thu, 30)”
  1. Junio C HamanoOct 1, 2021
  2. en/removing-untracked-fixes [Was: Re: What's cooking in git.git (Sep 2021, #09; Thu, 30)]Elijah Newren, Oct 1, 2021
  3. Ævar Arnfjörð BjarmasonOct 1, 2021
  4. Junio C HamanoOct 1, 2021
  5. en/remerge-diff [Was: Re: What's cooking in git.git (Sep 2021, #09; Thu, 30)]Elijah Newren, Oct 1, 2021
  6. Jeff KingOct 1, 2021
  7. Ævar Arnfjörð BjarmasonOct 1, 2021
  8. ab/fsck-unexpected-typeÆvar Arnfjörð Bjarmason, Oct 1, 2021
  9. ab/parse-options-cleanupÆvar Arnfjörð Bjarmason, Oct 1, 2021
  10. ab/sanitize-leak-ci & more leak fixes soon-or-notÆvar Arnfjörð Bjarmason, Oct 1, 2021
  11. Jeff HostetlerOct 1, 2021
  12. ab/refs-errno-cleanupÆvar Arnfjörð Bjarmason, Oct 1, 2021
  13. ab/align-parse-options-help & ab/help-config-varsÆvar Arnfjörð Bjarmason, Oct 1, 2021
  14. ab/lib-subtestÆvar Arnfjörð Bjarmason, Oct 1, 2021
  15. ab/config-based-hooks-1Ævar Arnfjörð Bjarmason, Oct 1, 2021

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.