aboutsummaryrefslogtreecommitdiff
path: root/t/t1300-repo-config.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-06-26 18:33:24 -0700
committerJunio C Hamano <gitster@pobox.com>2007-06-26 18:45:29 -0700
commit68fb4650497d6acbf6d407513cd2e2d960442e3b (patch)
tree0c41cacd974ae9847dfcee977822f12e6d248baf /t/t1300-repo-config.sh
parentb658d50325c938d87d4891cb62e2eefb0b58a62c (diff)
parentb69ba460bb0710b2af8a20b4b0d62233f29401ec (diff)
downloadgit-68fb4650497d6acbf6d407513cd2e2d960442e3b.tar.gz
git-68fb4650497d6acbf6d407513cd2e2d960442e3b.tar.xz
Merge branch 'maint'
* maint: config: Change output of --get-regexp for valueless keys config: Complete documentation of --get-regexp cleanup merge-base test script Fix zero-object version-2 packs Ignore submodule commits when fetching over dumb protocols
Diffstat (limited to 't/t1300-repo-config.sh')
-rwxr-xr-xt/t1300-repo-config.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t1300-repo-config.sh b/t/t1300-repo-config.sh
index 7731fa72c..84977355a 100755
--- a/t/t1300-repo-config.sh
+++ b/t/t1300-repo-config.sh
@@ -283,6 +283,12 @@ EOF
test_expect_success 'get variable with no value' \
'git-config --get novalue.variable ^$'
+echo novalue.variable > expect
+
+test_expect_success 'get-regexp variable with no value' \
+ 'git-config --get-regexp novalue > output &&
+ cmp output expect'
+
git-config > output 2>&1
test_expect_success 'no arguments, but no crash' \