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

Re: [RFC PATCH] sequencer - tipped merge strategy

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 6, 2023, 17:32 UTC
Message-ID
<xmqq8rg9bxal.fsf@gitster.g>
In-Reply-To
<CABPp-BGOtsjgfN5f=dSb0ZSEx8nzFs6SKrUm=2TtPPH5cKa4cA@mail.gmail.com>
Elijah Newren <newren@gmail.com> writes:
Show 11 quoted lines
> Having read the rest of this thread, I notice you pointed out to Junio
> that you want to amend a commit in the history of the merge,
> suggesting you are just modifying the commit message (or maybe
> author/committer info).  More generally, I _think_ your usecase and
> justification for this patch could be worded something like:
>
> """
> We often rebase with `--rebase-merges`, `--interactive`, and
> `--keep-base` (or equivalent command line flags) and only modify
> commit metadata during the rebase.  Since we do not modify any files,
> we would like the rebase to proceed without conflicts.

It makes very much sense to focus on this narrow but useful use case, and I view it a very natural extension to already existing "if we just pick without any user interaction a commit on top of its current base, the we do not do anything, fast-forward and just pretend we picked it". IOW, shouldn't it something the sequencer machinery should be able to do natively without forcing the user to specify a new merge strategy?

Previous: Edmundo Carmona Antoranz
Message 9 of 9 in “sequencer - tipped merge strategy”
  1. sequencer - tipped merge strategyEdmundo Carmona Antoranz, Mar 3, 2023
  2. Junio C HamanoMar 3, 2023
  3. Edmundo Carmona AntoranzMar 4, 2023
  4. Edmundo Carmona AntoranzMar 4, 2023
  5. Elijah NewrenMar 4, 2023
  6. Edmundo Carmona AntoranzMar 5, 2023
  7. Elijah NewrenMar 4, 2023
  8. Edmundo Carmona AntoranzMar 5, 2023
  9. Junio C HamanoMar 6, 2023

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.