summaryrefslogtreecommitdiff
path: root/t/t1305-config-include.sh
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2019-10-28 00:58:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-10-28 02:34:58 (GMT)
commit0b408ca2bd75807296509122c90cb0111844376a (patch)
tree282baed503013860fe14d2bbfdb5e10ff030832f /t/t1305-config-include.sh
parent2eabd383134b7dedbda0e8367ef3df63c67a0445 (diff)
downloadgit-0b408ca2bd75807296509122c90cb0111844376a.zip
git-0b408ca2bd75807296509122c90cb0111844376a.tar.gz
git-0b408ca2bd75807296509122c90cb0111844376a.tar.bz2
t1305: avoid comparing extensions
A repository using a hash other than SHA-1 will need to have an extension in the config file. Ignore any extensions when comparing config files, since they don't usefully contribute to the goal of the test. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1305-config-include.sh')
-rwxr-xr-xt/t1305-config-include.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1305-config-include.sh b/t/t1305-config-include.sh
index d20b4d1..f1e1b28 100755
--- a/t/t1305-config-include.sh
+++ b/t/t1305-config-include.sh
@@ -63,7 +63,7 @@ test_expect_success 'listing includes option and expansion' '
test.one=1
EOF
git config --list >actual.full &&
- grep -v ^core actual.full >actual &&
+ grep -v -e ^core -e ^extensions actual.full >actual &&
test_cmp expect actual
'