diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-09-18 11:59:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-18 11:59:35 -0700 |
commit | dd42145b1e953fe579778c13a3ad34aa59aa95fe (patch) | |
tree | f2b49717dd2e34e25368a05b135e75d5e77be51f /t | |
parent | 6930cd10de930b09639e1dad7ae8d74f9128e404 (diff) | |
parent | 4b05440283350ec3b01afabe847d9ce5cf4cbdb7 (diff) | |
download | git-dd42145b1e953fe579778c13a3ad34aa59aa95fe.tar.gz git-dd42145b1e953fe579778c13a3ad34aa59aa95fe.tar.xz |
Merge branch 'jl/some-submodule-config-are-not-boolean' into maint
* jl/some-submodule-config-are-not-boolean:
avoid segfault on submodule.*.path set to an empty "true"
Diffstat (limited to 't')
-rwxr-xr-x | t/t7400-submodule-basic.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/t/t7400-submodule-basic.sh b/t/t7400-submodule-basic.sh index 5ee97b003..a39d07446 100755 --- a/t/t7400-submodule-basic.sh +++ b/t/t7400-submodule-basic.sh @@ -18,6 +18,16 @@ test_expect_success 'setup - initial commit' ' git branch initial ' +test_expect_success 'configuration parsing' ' + test_when_finished "rm -f .gitmodules" && + cat >.gitmodules <<-\EOF && + [submodule "s"] + path + ignore + EOF + test_must_fail git status +' + test_expect_success 'setup - repository in init subdirectory' ' mkdir init && ( |