summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-02-20 14:37:59 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-02-20 14:37:59 -0400
commit7c87d7b320e567bc2fd6926067b64a86968220c5 (patch)
tree8e752dc6b7b6186347e748d09c269c1233968a9c
parent7be5284a4d795e2add46d8819d52fb36e57234d5 (diff)
comment
-rw-r--r--doc/bugs/git_annex_status_fails_with_submodule_in_direct_mode/comment_1_0258db936120767e8e41cd926cb5bfd5._comment19
1 files changed, 19 insertions, 0 deletions
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 000000000..63cceedd9
--- /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.
+"""]]