upload-pack: provide a hook for running pack-objects
[gitweb.git] / t / t1308-config-set.sh
index d345a885a35544241550d79c15be7ef098613204..cf716b469f10f37a591b32ef2d3eb6da4ba63f78 100755 (executable)
@@ -237,17 +237,20 @@ test_expect_success 'iteration shows correct origins' '
        key=foo.bar
        value=from-home
        origin=file
-       name=$(pwd)/.gitconfig
+       name=$HOME/.gitconfig
+       scope=global
 
        key=foo.bar
        value=from-repo
        origin=file
        name=.git/config
+       scope=repo
 
        key=foo.bar
        value=from-cmdline
        origin=command line
        name=
+       scope=cmdline
        EOF
        GIT_CONFIG_PARAMETERS=$cmdline_config test-config iterate >actual &&
        test_cmp expect actual