From b8ab61d5fdeb221c6c224a835ca06bca59407330 Mon Sep 17 00:00:00 2001 From: "https://christian.amsuess.com/chrysn" Date: Sun, 22 Dec 2019 10:50:33 +0000 Subject: [PATCH] Added a comment: Workaround --- ...nt_1_ca12be107b7a7dc36cb71595e347ce28._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/bugs/creating_dot-git-as-symlink_workaround_drops_worktree_configuration_from_submodules/comment_1_ca12be107b7a7dc36cb71595e347ce28._comment diff --git a/doc/bugs/creating_dot-git-as-symlink_workaround_drops_worktree_configuration_from_submodules/comment_1_ca12be107b7a7dc36cb71595e347ce28._comment b/doc/bugs/creating_dot-git-as-symlink_workaround_drops_worktree_configuration_from_submodules/comment_1_ca12be107b7a7dc36cb71595e347ce28._comment new file mode 100644 index 0000000000..9b12b7aecb --- /dev/null +++ b/doc/bugs/creating_dot-git-as-symlink_workaround_drops_worktree_configuration_from_submodules/comment_1_ca12be107b7a7dc36cb71595e347ce28._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="https://christian.amsuess.com/chrysn" + nickname="chrysn" + avatar="http://christian.amsuess.com/avatar/c6c0d57d63ac88f3541522c4b21198c3c7169a665a2f2d733b4f78670322ffdc" + subject="Workaround" + date="2019-12-22T10:50:32Z" + content=""" +As a workaround to keep both git submodule workdir discovery and git annex functional, the original git submodule core.worktree parameter can be restored, and overridden for git-annex calls using + +[[!format sh \"\"\" +GIT_WORK_TREE=\"$PWD\" git annex whereis +\"\"\"]] + +and similar. +"""]]