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

en/merge-restore-to-pristine (Was: Re: What's cooking in git.git (Jul 2022, #07; Fri, 22))

From
Elijah Newren <newren@gmail.com>
Date
Jul 23, 2022, 02:28 UTC
Message-ID
<CABPp-BEpnEUKvBOy2e0=EnF8Qj14myNx2OOsLS=5gtC6xYKLtw@mail.gmail.com>
In-Reply-To
<xmqqh738bq21.fsf@gitster.g>
On Fri, Jul 22, 2022 at 6:55 PM Junio C Hamano <junio@pobox.com> wrote:
Show 16 quoted lines
>
> * en/merge-restore-to-pristine (2022-07-21) 7 commits
>  - merge: do not exit restore_state() prematurely
>  - merge: ensure we can actually restore pre-merge state
>  - merge: make restore_state() restore staged state too
>  - merge: fix save_state() to work when there are stat-dirty files
>  - merge: do not abort early if one strategy fails to handle the merge
>  - merge-resolve: abort if index does not match HEAD
>  - merge-ort-wrappers: make printed message match the one from recursive
>
>  When "git merge" finds that it cannot perform a merge, it should
>  restore the working tree to the state before the command was
>  initiated, but in some corner cases it didn't.
>
>  Will merge to 'next'?
>  source: <pull.1231.v3.git.1658391391.gitgitgadget@gmail.com>
I just submitted a v5 based on some feedback from Ævar.

(Also, did you forget to update the source link by chance? Your referenced source link is v3, but the version in your tree is v4.)

Previous: Junio C HamanoNext: Matheus Tavares
Message 2 of 9 in “What's cooking in git.git (Jul 2022, #07; Fri, 22)”
  1. Junio C HamanoJul 23, 2022
  2. en/merge-restore-to-pristine (Was: Re: What's cooking in git.git (Jul 2022, #07; Fri, 22))Elijah Newren, Jul 23, 2022
  3. mt/doc-config (Was: Re: What's cooking in git.git (Jul 2022, #07; Fri, 22))Matheus Tavares, Jul 23, 2022
  4. tb/commit-graph-genv2-upgrade-fixTaylor Blau, Jul 25, 2022
  5. Derrick StoleeJul 26, 2022
  6. Jeff KingJul 26, 2022
  7. Derrick StoleeJul 27, 2022
  8. Junio C HamanoJul 27, 2022
  9. Jeff KingJul 27, 2022

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.