Merge branch 'ds/commit-graph-fsck'

Test fix.

* ds/commit-graph-fsck:
  t5318: use 'test_cmp_bin' to compare commit-graph files
This commit is contained in:
Junio C Hamano 2018-08-20 11:33:51 -07:00
Родитель c5c2162a32 eb7cc5bc80
Коммит 5dd54744b8
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -254,9 +254,9 @@ test_expect_success 'check that gc computes commit-graph' '
git config gc.writeCommitGraph true && git config gc.writeCommitGraph true &&
git gc && git gc &&
cp $objdir/info/commit-graph commit-graph-after-gc && cp $objdir/info/commit-graph commit-graph-after-gc &&
! test_cmp commit-graph-before-gc commit-graph-after-gc && ! test_cmp_bin commit-graph-before-gc commit-graph-after-gc &&
git commit-graph write --reachable && git commit-graph write --reachable &&
test_cmp commit-graph-after-gc $objdir/info/commit-graph test_cmp_bin commit-graph-after-gc $objdir/info/commit-graph
' '
# the verify tests below expect the commit-graph to contain # the verify tests below expect the commit-graph to contain