t5318-commit-graph: remove unused variable
This is a remnant from early versions of the commit-graph patch series [1], when 'git commit-graph --write' printed the hash of the created commit-graph file, and tests did look at the command's output, because the commit-graph file's name included that hash as well. [1] https://public-inbox.org/git/1517348383-112294-6-git-send-email-dstolee@microsoft.com/ Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
SZEDER Gábor committed
Mar 22, 2019 at 15:27 UTC
0b918b75af41667074b4348afb58190448984314
1 file changed
+1
-1
t/t5318-commit-graph.sh
+1
-1
@@ -75,7 +75,7 @@ graph_read_expect() {
75
76
test_expect_success 'write graph' '
77
cd "$TRASH_DIRECTORY/full" &&
78
- graph1=$(git commit-graph write) &&
78
+ git commit-graph write &&
79
test_path_is_file $objdir/info/commit-graph &&
80
graph_read_expect "3"
81
'