From: Derrick Stolee Date: Wed, 29 Jun 2022 13:05:44 GMT Subject: Re: [PATCH v3 7/8] rebase: update refs from 'update-ref' commands Message-ID: In-Reply-To: On 6/28/22 5:15 PM, Junio C Hamano wrote: > "Derrick Stolee via GitGitGadget" writes: ... > It would be nice to also have a test that makes sure that other > people will be prevented from checking out a branch whose tips may > be updated at the end. Patch 3 adds the tests that 'git branch -f' cannot update these refs, but I could add 'git checkout' tests, too. They both run the same branch_checked_out() helper, but they are doing different things once they have "access" to the branch. Thanks, -Stolee