Skip to content

Commit 0b918b7

Browse files
szedergitster
authored andcommitted
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/[email protected]/ Signed-off-by: SZEDER Gábor <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent aeb582a commit 0b918b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5318-commit-graph.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ graph_read_expect() {
7575

7676
test_expect_success 'write graph' '
7777
cd "$TRASH_DIRECTORY/full" &&
78-
graph1=$(git commit-graph write) &&
78+
git commit-graph write &&
7979
test_path_is_file $objdir/info/commit-graph &&
8080
graph_read_expect "3"
8181
'

0 commit comments

Comments
 (0)