@matheusbsbs / matheus-bagliano / commits / 0b408ca2bd
Fork 0

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>

brian m. carlson committed Oct 28, 2019 at 00:58 UTC 0b408ca2bd75807296509122c90cb0111844376a
1 file changed +1 -1
t/t1305-config-include.sh
+1 -1
@@ -63,7 +63,7 @@ test_expect_success 'listing includes option and expansion' '
63 test.one=1
64 EOF
65 git config --list >actual.full &&
66 - grep -v ^core actual.full >actual &&
66 + grep -v -e ^core -e ^extensions actual.full >actual &&
67 test_cmp expect actual
68 '
69