summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_status_fails_with_submodule_in_direct_mode/comment_1_0258db936120767e8e41cd926cb5bfd5._comment
blob: 63cceedd9c57d47e2b440518cc9d2643c3359498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.
"""]]