Skip to content

Commit 5dd5474

Browse files
committed
Merge branch 'ds/commit-graph-fsck'
Test fix. * ds/commit-graph-fsck: t5318: use 'test_cmp_bin' to compare commit-graph files
2 parents c5c2162 + eb7cc5b commit 5dd5474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t5318-commit-graph.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ test_expect_success 'check that gc computes commit-graph' '
254254
git config gc.writeCommitGraph true &&
255255
git gc &&
256256
cp $objdir/info/commit-graph commit-graph-after-gc &&
257-
! test_cmp commit-graph-before-gc commit-graph-after-gc &&
257+
! test_cmp_bin commit-graph-before-gc commit-graph-after-gc &&
258258
git commit-graph write --reachable &&
259-
test_cmp commit-graph-after-gc $objdir/info/commit-graph
259+
test_cmp_bin commit-graph-after-gc $objdir/info/commit-graph
260260
'
261261

262262
# the verify tests below expect the commit-graph to contain

0 commit comments

Comments
 (0)