Skip to content

Commit 0b408ca

Browse files
bk2204gitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2eabd38 commit 0b408ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1305-config-include.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ test_expect_success 'listing includes option and expansion' '
6363
test.one=1
6464
EOF
6565
git config --list >actual.full &&
66-
grep -v ^core actual.full >actual &&
66+
grep -v -e ^core -e ^extensions actual.full >actual &&
6767
test_cmp expect actual
6868
'
6969

0 commit comments

Comments
 (0)