improve some edge cases around partial initialization
authorJoey Hess <joeyh@joeyh.name>
Mon, 14 Dec 2020 17:17:43 +0000 (13:17 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 14 Dec 2020 17:17:43 +0000 (13:17 -0400)
commit75acf5f440bba2e366c5cf66b544f63cf796e57f
treea1757b21938221100b68c0dd62291c53d6a2b4b9
parent230e1c88a98d655444c505756abedec2e5bd5f80
improve some edge cases around partial initialization

* Guard against running in a repo where annex.uuid is set but
  annex.version is set, or vice-versa.
* Avoid autoinit when a repo does not have annex.version or annex.uuid
  set, but has a git-annex objects directory, suggesting it was used
  by git-annex before.
Annex/Init.hs
CHANGELOG
doc/todo/avoid_autoinit_when_git-annex_branch_already_exists.mdwn