Merge branch 'nd/sparse' (early part)
[gitweb.git] / t / t1300-repo-config.sh
index 8c43dcde8ab8d491cbe047903fa065f6550de4d6..83b7294010cd59d5438b6020868c699c01105595 100755 (executable)
@@ -755,6 +755,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 &&