aboutsummaryrefslogtreecommitdiff
path: root/t/t1013-read-tree-submodule.sh
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2017-05-02 12:32:14 -0700
committerJunio C Hamano <gitster@pobox.com>2017-05-04 13:42:05 +0900
commit218c883783ee7c23a0955507f5b7ac4027428d63 (patch)
treee8398891051dc63d4dc6c568288b80b344383500 /t/t1013-read-tree-submodule.sh
parentda27bc81f00fb5315341b26db8879c266e8ba1a2 (diff)
downloadgit-218c883783ee7c23a0955507f5b7ac4027428d63.tar.gz
git-218c883783ee7c23a0955507f5b7ac4027428d63.tar.xz
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-xt/t1013-read-tree-submodule.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/t1013-read-tree-submodule.sh b/t/t1013-read-tree-submodule.sh
index de1ba02dc..7019d0a04 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