Glen Choo <chooglen@xxxxxxxxxx> writes: > With the previous commit, there are no more invocations of > create_branch() that do not create a branch because: > > * BRANCH_TRACK_OVERRIDE is no longer passed > * clobber_head_ok = true and force = false is never passed > > Assert these situations, delete dead code and ensure that we're handling > clobber_head_ok and force correctly by introducing tests for `git branch > --force`. As a result, create_branch() now always creates a branch. A very nice simplifiation of semantics.