diff options
Diffstat (limited to 'third_party/git/t/t6100-rev-list-in-order.sh')
-rwxr-xr-x | third_party/git/t/t6100-rev-list-in-order.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/git/t/t6100-rev-list-in-order.sh b/third_party/git/t/t6100-rev-list-in-order.sh index b2bb0a7f6181..e934bc239c53 100755 --- a/third_party/git/t/t6100-rev-list-in-order.sh +++ b/third_party/git/t/t6100-rev-list-in-order.sh @@ -22,7 +22,7 @@ test_expect_success 'setup a commit history with trees, blobs' ' test_expect_success 'rev-list --in-commit-order' ' git rev-list --in-commit-order --objects HEAD >actual.raw && - cut -c 1-40 >actual <actual.raw && + cut -d" " -f1 >actual <actual.raw && git cat-file --batch-check="%(objectname)" >expect.raw <<-\EOF && HEAD^{commit} @@ -49,7 +49,7 @@ test_expect_success 'rev-list --in-commit-order' ' test_expect_success 'rev-list lists blobs and trees after commits' ' git rev-list --objects HEAD >actual.raw && - cut -c 1-40 >actual <actual.raw && + cut -d" " -f1 >actual <actual.raw && git cat-file --batch-check="%(objectname)" >expect.raw <<-\EOF && HEAD^{commit} |