From 8ffc58a5d8a32f6490ff015fbaf8160b5b6f67fe Mon Sep 17 00:00:00 2001 From: "https://christian.amsuess.com/chrysn" Date: Sun, 22 Dec 2019 10:02:23 +0000 Subject: [PATCH] link from bug report to submodules to make the affecting bug visible there --- ...workaround_drops_worktree_configuration_from_submodules.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bugs/creating_dot-git-as-symlink_workaround_drops_worktree_configuration_from_submodules.mdwn b/doc/bugs/creating_dot-git-as-symlink_workaround_drops_worktree_configuration_from_submodules.mdwn index 7870d0a29b..b65c9e568c 100644 --- a/doc/bugs/creating_dot-git-as-symlink_workaround_drops_worktree_configuration_from_submodules.mdwn +++ b/doc/bugs/creating_dot-git-as-symlink_workaround_drops_worktree_configuration_from_submodules.mdwn @@ -1,6 +1,6 @@ ### Please describe the problem. -When using submodules, a `git annex init` in the submodule drops the `core.workdir` configuration from the git config around the time it replaces the plain `.git` file with a symlink. +When using [[submodules]], a `git annex init` in the submodule drops the `core.workdir` configuration from the git config around the time it replaces the plain `.git` file with a symlink. The lack of that option rarely affects anything (the command-line git or -annex operations I've tried from inside the workdir went OK), but when libgit2 is used to load the submodule and discover its workdir, the missing option becomes apparent, and libgit2 reports an incorrect working directory.