diff options
author | Stefan Beller <sbeller@google.com> | 2017-05-02 22:32:14 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-04 07:42:05 +0300 |
commit | 218c883783ee7c23a0955507f5b7ac4027428d63 (patch) | |
tree | e8398891051dc63d4dc6c568288b80b344383500 /t/t1013-read-tree-submodule.sh | |
parent | da27bc81f00fb5315341b26db8879c266e8ba1a2 (diff) |
submodule: properly recurse for read-tree and checkout
We forgot to prepare the submodule env, which is only a problem for
nested submodules. See 2e5d6503bd (ls-files: fix recurse-submodules
with nested submodules, 2017-04-13) for further explanation.
To come up with a proper test for this, we'd need to look at nested
submodules just as in that given commit. It turns out we're lucky
and these tests already exist, but are marked as failing. We need
to pass `--recurse-submodules` to read-tree additionally to make
these tests pass. Passing that flag alone would not make the tests
pass, such that this covers testing for the bug fix of the submodule
env as well.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1013-read-tree-submodule.sh')
-rwxr-xr-x | t/t1013-read-tree-submodule.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/t/t1013-read-tree-submodule.sh b/t/t1013-read-tree-submodule.sh index de1ba02dc5b..7019d0a04fe 100755 --- a/t/t1013-read-tree-submodule.sh +++ b/t/t1013-read-tree-submodule.sh @@ -5,7 +5,6 @@ test_description='read-tree can handle submodules' . ./test-lib.sh . "$TEST_DIRECTORY"/lib-submodule-update.sh -KNOWN_FAILURE_SUBMODULE_RECURSIVE_NESTED=1 KNOWN_FAILURE_DIRECTORY_SUBMODULE_CONFLICTS=1 KNOWN_FAILURE_SUBMODULE_OVERWRITE_IGNORED_UNTRACKED=1 |