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

ds/rebase-update-refs (was Re: What's cooking in git.git (Jun 2022, #02; Tue, 7))

From
Derrick Stolee <derrickstolee@github.com>
Date
Jun 8, 2022, 20:18 UTC
Message-ID
<42863c70-0cc5-ce64-f8b9-a75cb6e1343c@github.com>
In-Reply-To
<xmqqwndsrm99.fsf@gitster.g>
On 6/7/2022 9:12 PM, Junio C Hamano wrote:
Show 14 quoted lines
> * ds/rebase-update-refs (2022-06-07) 7 commits
>  - rebase: add rebase.updateRefs config option
>  - sequencer: implement 'update-refs' command
>  - rebase: add --update-refs option
>  - sequencer: add update-refs command
>  - sequencer: define array with enum values
>  - branch: add branch_checked_out() helper
>  - log-tree: create for_each_decoration()
> 
>  "git rebase" learns "--update-refs" to update the refs that point
>  at commits being rewritten so that they point at the corresponding
>  commits in the rewritten history.
> 
>  source: <3d7d3f656b4e93e8caa0d18d29c318ede956d1d7.1654634569.git.gitgitgadget@gmail.com>

One patch here generated enough subtleties to justify its own topic [1]. In addition, Philip's feedback presented interesting motivation to change the direction of this feature.

[1] https://lore.kernel.org/git/pull.1254.git.1654718942.gitgitgadget@gmail.com

I recommend ejecting this topic. I'll come back with a new version of it (based on [1]) after the 2.37.0 release window.

Thanks, -Stolee

Previous: Philippe Blain
Message 3 of 3 in “What's cooking in git.git (Jun 2022, #02; Tue, 7)”
  1. Junio C HamanoJun 8, 2022
  2. Philippe BlainJun 8, 2022
  3. ds/rebase-update-refs (was Re: What's cooking in git.git (Jun 2022, #02; Tue, 7))Derrick Stolee, Jun 8, 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.