From 221f62ea5ec70b9dc882b3dc3a487b8b26f861fa Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Feb 2017 14:37:59 -0400 Subject: [PATCH] comment --- ..._0258db936120767e8e41cd926cb5bfd5._comment | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/bugs/git_annex_status_fails_with_submodule_in_direct_mode/comment_1_0258db936120767e8e41cd926cb5bfd5._comment diff --git a/doc/bugs/git_annex_status_fails_with_submodule_in_direct_mode/comment_1_0258db936120767e8e41cd926cb5bfd5._comment b/doc/bugs/git_annex_status_fails_with_submodule_in_direct_mode/comment_1_0258db936120767e8e41cd926cb5bfd5._comment new file mode 100644 index 0000000000..63cceedd9c --- /dev/null +++ b/doc/bugs/git_annex_status_fails_with_submodule_in_direct_mode/comment_1_0258db936120767e8e41cd926cb5bfd5._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2017-02-20T18:30:54Z" + content=""" +Error is: + + fatal: This operation must be run in a work tree + fatal: 'git status --porcelain' failed in submodule sub + +`git status` fails the same way, and it seems that the only way +to make it work would be to pass --ignore-submodules to it. + +But I suppose then, it would need to replicate git status's submodule +traversal. + +I'm not too keen on adding complicated stuff involving submodules to direct +mode. My goal with direct mode is to eliminate the need for it. +"""]]