Merge branch 'maint-1.6.2' into maint-1.6.3
[gitweb.git] / t / t1300-repo-config.sh
index 43ea283242c4afc25e53d4a8c894140793649717..91cbd551d8b8031b91437238e281591268a0268f 100755 (executable)
@@ -733,6 +733,11 @@ echo >>result
 
 test_expect_success '--null --get-regexp' 'cmp result expect'
 
+test_expect_success 'inner whitespace kept verbatim' '
+       git config section.val "foo       bar" &&
+       test "z$(git config section.val)" = "zfoo         bar"
+'
+
 test_expect_success SYMLINKS 'symlinked configuration' '
 
        ln -s notyet myconfig &&