Subject: ds/branch-checked-out (was Re: What's cooking in git.git (Jun 2022, #03; Fri, 10))

From: Derrick Stolee <[email-masked]>
Date: Mon, 13 Jun 2022 11:01:30 -0400

On 6/10/2022 11:39 PM, Junio C Hamano wrote:

> * 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: <[email-masked]>

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.

> --------------------------------------------------
> [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. <[email-masked]>
>  source: <[email-masked]>

Thanks. I will revisit this topic after the release window.

-Stolee