init: Fix bugs in submodule .git symlink fixup, that occurred when initializing in a subdirectory of a submodule and a submodule of a submodule.

This commit is contained in:
Joey Hess 2016-02-08 15:41:19 -04:00
parent 085ec7d693
commit 17c97434f2
Failed to extract signature
4 changed files with 15 additions and 1 deletions

View file

@ -45,3 +45,5 @@ upgrade supported from repository versions: 0 1 2 4 5
"""]]
[[!meta author=yoh]]
> [[fixed|done]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2016-02-08T18:27:32Z"
content="""
Yeah, it was running git annex init in the subdir of the submodule that
triggered the bug. Easy fix, also fixes init in submodules of submodules.
"""]]