diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-06-26 18:33:24 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-26 18:45:29 -0700 |
commit | 68fb4650497d6acbf6d407513cd2e2d960442e3b (patch) | |
tree | 0c41cacd974ae9847dfcee977822f12e6d248baf /t/t1300-repo-config.sh | |
parent | b658d50325c938d87d4891cb62e2eefb0b58a62c (diff) | |
parent | b69ba460bb0710b2af8a20b4b0d62233f29401ec (diff) | |
download | git-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-x | t/t1300-repo-config.sh | 6 |
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' \ |