summaryrefslogtreecommitdiff
path: root/t/t1308-config-set.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t1308-config-set.sh')
-rwxr-xr-xt/t1308-config-set.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t1308-config-set.sh b/t/t1308-config-set.sh
index d345a885a3..065d5ebb09 100755
--- a/t/t1308-config-set.sh
+++ b/t/t1308-config-set.sh
@@ -238,16 +238,19 @@ test_expect_success 'iteration shows correct origins' '
value=from-home
origin=file
name=$(pwd)/.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