Avoid leaving repo with a detached head when there is a failure checking out an updat...
authorJoey Hess <joeyh@joeyh.name>
Thu, 23 Mar 2023 20:36:43 +0000 (16:36 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 23 Mar 2023 20:36:43 +0000 (16:36 -0400)
commit038a2600f4cf71294976280c5c29f6710359375f
treedae3df3d9552d4ec1ffd9f042142fd94dde9d278
parentcb4d9f7b1f8ce251d86f8f0163c0884cb9454603
Avoid leaving repo with a detached head when there is a failure checking out an updated adjusted branch

I don't know of scenarios where that can happen (besides the bug
fixed by the parent commit), but there probably are some.

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
Annex/AdjustedBranch.hs
CHANGELOG
doc/bugs/Failed_adjusted_branch_update_after_error_in_drop.mdwn