Merge branch 'sg/t5318-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Apr 2019 10:28:12 +0000 (19:28 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Apr 2019 10:28:12 +0000 (19:28 +0900)
Code cleanup.

* sg/t5318-cleanup:
t5318-commit-graph: remove unused variable

t/t5318-commit-graph.sh
index 561796f2809c38d3b5229abd4359f5b72141839e..069e4e28e42d69e7b892112f3ba3743e4e13edac 100755 (executable)
@@ -75,7 +75,7 @@ graph_read_expect() {
 
 test_expect_success 'write graph' '
        cd "$TRASH_DIRECTORY/full" &&
-       graph1=$(git commit-graph write) &&
+       git commit-graph write &&
        test_path_is_file $objdir/info/commit-graph &&
        graph_read_expect "3"
 '