benthayer / git-gud

Wanna git gud? Then get git-gud, and git gud at git!
MIT License
401 stars 42 forks source link

Fix errors setting up levels during rebases and bisects #321

Closed benthayer closed 3 years ago

benthayer commented 3 years ago

During a rebase conflict or a bisect, the head branch would be considered checked out. Since a checked out branch couldn't be deleted, we had trouble setting up new levels during resets/loads/re-inits. This should fix that.

290 Needs this

benthayer commented 3 years ago

@sahansk2 Would you mind taking a look at this?