]> git.lizzy.rs Git - plan9front.git/commit
git/branch: resolve implicit branch switch before using it
authorOri Bernstein <ori@eigenstate.org>
Wed, 16 Jun 2021 15:25:02 +0000 (15:25 +0000)
committerOri Bernstein <ori@eigenstate.org>
Wed, 16 Jun 2021 15:25:02 +0000 (15:25 +0000)
commit1da1ac52d201bdc6656b91a4b1792581120b2d09
tree3b969703d570de33dfeb8a926bd57c44350374cb
parent7f697e822b2efd5c757141720469d105a5605ca4
git/branch: resolve implicit branch switch before using it

When switching a branch implicitly -- ie, creating a local
branch off of a remote branch -- we would get the list of
changed files before we would resolve the implicit branch
switch, leading to an empty list of changes.
sys/src/cmd/git/branch