ds/branch-checked-out (was Re: What's cooking in git.git (Jun 2022, #03; Fri, 10))
- From
Derrick Stolee <derrickstolee@github.com>
- Date
- Jun 13, 2022, 15:01 UTC
- Message-ID
- <07eb5cce-2948-a653-a941-c8fe0924aee2@github.com>
- In-Reply-To
- <xmqqsfobc1hw.fsf@gitster.g>
On 6/10/2022 11:39 PM, Junio C Hamano wrote:
Show 13 quoted lines
> * ds/branch-checked-out (2022-06-08) 4 commits > - branch: use branch_checked_out() when deleting refs > - fetch: use new branch_checked_out() and add tests > - branch: check for bisects and rebases > - branch: add branch_checked_out() helper > > Introduce a helper to see if a branch is already being worked on > (hence should not be newly checked out in a working tree), which > performs much better than the existing find_shared_symref() to > replace many uses of the latter. > > Will merge to 'next'? > source: <pull.1254.git.1654718942.gitgitgadget@gmail.com>
I sent a new patch that sits on top, fixing the memory leak that you pointed out. Please take a look when you have time.
Show 19 quoted lines
> -------------------------------------------------- > [Discarded] > > * 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. > > Retracted for possible future redesign. > cf. <pull.1254.git.1654718942.gitgitgadget@gmail.com> > source: <pull.1247.v2.git.1654634569.gitgitgadget@gmail.com>
Thanks. I will revisit this topic after the release window.
-Stolee