Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
revision.c: --reflog add HEAD reflog from all worktrees
[gitweb.git]
/
t
/
t1300-repo-config.sh
diff --git
a/t/t1300-repo-config.sh
b/t/t1300-repo-config.sh
index 23312bee286ab89e24196b150d99bb3283d5d094..364a537000bbbdd43047bd3f9c52c950a96dcbda 100755
(executable)
--- a/
t/t1300-repo-config.sh
+++ b/
t/t1300-repo-config.sh
@@
-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