t5318-commit-graph.sh: use core.commitGraph

The commit-graph tests should be checking that normal Git operations succeed and have matching output with and without the commit-graph feature enabled. However, the test was toggling 'core.graph' instead of the correct 'core.commitGraph' variable. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Derrick Stolee committed Jun 27, 2018 at 09:24 UTC 55abcb417bb5b769e2aacb92a1f05c6c58127cae
1 file changed +2 -2
t/t5318-commit-graph.sh
+2 -2
@@ -28,8 +28,8 @@ test_expect_success 'create commits and repack' '
28 '
29
30 graph_git_two_modes() {
31 - git -c core.graph=true $1 >output
32 - git -c core.graph=false $1 >expect
31 + git -c core.commitGraph=true $1 >output
32 + git -c core.commitGraph=false $1 >expect
33 test_cmp output expect
34 }
35