On 6/28/22 5:15 PM, Junio C Hamano wrote: > "Derrick Stolee via GitGitGadget" <gitgitgadget@xxxxxxxxx> 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