shithub: git9

Download patch

ref: d49479660dbb66cde23766084206dc1ba43e02df
parent: dc47e402e7b53c0e81478aa9560e00ffd73d8332
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Dec 1 12:12:21 EST 2019

fix branch behavior: use existing branches.

we used to treat creating a new branch and switching
to an existing branch as the same, using the current
base commit. this is wrong.

now, if the branch we're switching to exists and we
have no '-b' parameter, we use its current commit as
the commit we switch to.