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
This commit is contained in:
Joey Hess 2023-03-23 16:36:43 -04:00
parent cb4d9f7b1f
commit 038a2600f4
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 26 additions and 8 deletions

View file

@ -53,4 +53,4 @@ local repository version: 8
git-annex is too good. It so rarely causes problems that one does not develop the "git-annex troubleshooting muscle". :)
> [[fixed|done]] --[[Joey]]