upgrade: Support an edge case upgrading a v5 direct mode repo where nothing had ever been committed to the head branch

This commit was sponsored by Jack Hill on Patreon.
This commit is contained in:
Joey Hess 2020-11-24 12:31:17 -04:00
parent 14155bcebe
commit 88cef18fac
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 29 additions and 12 deletions

View file

@ -36,5 +36,4 @@ and this sequence of commands:
Note that lack of git-annex sync, which is why the branch
never got created. The index file has the adds staged of course.
So, fixing this unusual case needs the upgrade code to go ahead and commit
the staged index first.
> [[fixed|done]] --[[Joey]]