A relative core.worktree is relative to the gitdir.
Now that this is handled correctly, git-annex can be used in git submodules. Also, fixed infelicity where Git.CurrentRepo and Git.Config.updateLocation were both dealing with core.worktree. Now updateLocation handles it for Local as well as for LocalUnknown repos.
This commit is contained in:
parent
148d9f0088
commit
8fec62d299
4 changed files with 21 additions and 15 deletions
|
@ -51,5 +51,6 @@ Got:
|
|||
* The path in that config is relative to the config file: "worktree = ../../../../lib/submod"
|
||||
* Git-annex expect the path to be relative to the current directory, which is why it fails.
|
||||
|
||||
|
||||
> Impressive analysis, thanks. I've fixed handling of relative
|
||||
> core.worktree. [[done]] --[[Joey]]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue