From 0b408ca2bd75807296509122c90cb0111844376a Mon Sep 17 00:00:00 2001 From: "brian m. carlson" Date: Mon, 28 Oct 2019 00:58:56 +0000 Subject: 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 Signed-off-by: Junio C Hamano 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 ' -- cgit v0.10.2-6-g49f6