[PATCH 2/4] t/lib-submodule-update.sh: Fix test ignoring ignored files in submodules
- From
Stefan Beller <sbeller@google.com>
- Date
- Dec 20, 2017, 22:17 UTC
- Message-ID
- <20171220221725.129162-3-sbeller@google.com>
- In-Reply-To
- <20171220221725.129162-1-sbeller@google.com>
It turns out that this buggy test passed due to the buggy implementation, which will soon be corrected. Let's fix the test first.
Signed-off-by: Stefan Beller <sbeller@google.com> --- t/lib-submodule-update.sh | 1 + 1 file changed, 1 insertion(+)
diff --git a/t/lib-submodule-update.sh b/t/lib-submodule-update.sh index d7699046f6..fb0173ea87 100755 --- a/t/lib-submodule-update.sh +++ b/t/lib-submodule-update.sh @@ -885,6 +885,7 @@ test_submodule_switch_recursing_with_args () { ( cd submodule_update && git branch -t replace_sub1_with_file origin/replace_sub1_with_file && + echo ignored >.git/modules/sub1/info/exclude && : >sub1/ignored && $command replace_sub1_with_file && test_superproject_content origin/replace_sub1_with_file &&
-- 2.15.1.620.gb9897f4670-goog