summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-02-04 10:24:50 -0800
committerJunio C Hamano <gitster@pobox.com>2013-02-04 10:24:50 -0800
commit099ba556d05571001293c8eda10a4fc659f83f48 (patch)
treea7eb1760f82fdd9f769ea6a64e6ece7198ef471c /t
parent149a4211a4b8d8bbcdd72685d538d6ac7365e29e (diff)
parentb3873c336cc2eb5a6eb2b10981a2ca0b65b8c987 (diff)
downloadgit-099ba556d05571001293c8eda10a4fc659f83f48.tar.gz
Merge branch 'jk/config-parsing-cleanup'
Configuration parsing for tar.* configuration variables were broken. Introduce a new config-keyname parser API to make the callers much less error prone. * jk/config-parsing-cleanup: reflog: use parse_config_key in config callback help: use parse_config_key for man config submodule: simplify memory handling in config parsing submodule: use parse_config_key when parsing config userdiff: drop parse_driver function convert some config callbacks to parse_config_key archive-tar: use parse_config_key when parsing config config: add helper function for parsing key names
Diffstat (limited to 't')
-rwxr-xr-xt/t5000-tar-tree.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh
index e7c240fc1f..3fbd366ec3 100755
--- a/t/t5000-tar-tree.sh
+++ b/t/t5000-tar-tree.sh
@@ -212,7 +212,8 @@ test_expect_success 'git-archive --prefix=olde-' '
test_expect_success 'setup tar filters' '
git config tar.tar.foo.command "tr ab ba" &&
git config tar.bar.command "tr ab ba" &&
- git config tar.bar.remote true
+ git config tar.bar.remote true &&
+ git config tar.invalid baz
'
test_expect_success 'archive --list mentions user filter' '