diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-09-04 23:36:51 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-04 23:36:51 +0400 |
commit | 5fb0e0868c25d4be66ead46992c393ed5f91c2d1 (patch) | |
tree | 2b382daeba5b2deb656bbb4fd4483f08e5d38206 /t | |
parent | baa8d42f0508f0854a83b068c7f6ca227b143d38 (diff) | |
parent | 4b05440283350ec3b01afabe847d9ce5cf4cbdb7 (diff) |
Merge branch 'jl/some-submodule-config-are-not-boolean'
* 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 5ee97b003a..a39d074465 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 && ( |