diff options
author | Stefan Beller <sbeller@google.com> | 2017-05-02 12:32:14 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-04 13:42:05 +0900 |
commit | 218c883783ee7c23a0955507f5b7ac4027428d63 (patch) | |
tree | e8398891051dc63d4dc6c568288b80b344383500 /t/t5100/msg0016 | |
parent | submodule: avoid auto-discovery in new working tree manipulator code (diff) | |
download | tgif-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/t5100/msg0016')
0 files changed, 0 insertions, 0 deletions