l10n: de.po: various fixes in German translation
[gitweb.git] / t / t1300-repo-config.sh
index 23312bee286ab89e24196b150d99bb3283d5d094..364a537000bbbdd43047bd3f9c52c950a96dcbda 100755 (executable)
@@ -1552,4 +1552,10 @@ test_expect_success !MINGW '--show-origin blob ref' '
        test_cmp expect output
 '
 
+test_expect_success '--local requires a repo' '
+       # we expect 128 to ensure that we do not simply
+       # fail to find anything and return code "1"
+       test_expect_code 128 nongit git config --local foo.bar
+'
+
 test_done