uninit edge cases

* uninit: Avoid error message when no commits have been made to the
  repository yet.
* uninit: Avoid error message when there is no git-annex branch.

Sponsored-by: Svenne Krap on Patreon
This commit is contained in:
Joey Hess 2021-11-08 16:47:00 -04:00
parent 9cb02ca29e
commit 9d3ce224e3
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 18 additions and 6 deletions

View file

@ -31,3 +31,6 @@ operating system: linux x86_64
supported repository versions: 8
upgrade supported from repository versions: 0 1 2 3 4 5 6 7
```
> Fixed both problems, although I don't know how a git-annex branch could
> not exist. [[done]] --[[Joey]]