We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c8e7e9 commit f1ed224Copy full SHA for f1ed224
t/t5000-tar-tree.sh
@@ -243,10 +243,11 @@ test_expect_success 'validate file modification time' '
243
test_cmp expected.mtime b.mtime
244
'
245
246
-test_expect_success \
247
- 'git get-tar-commit-id' \
248
- 'git get-tar-commit-id <b.tar >b.commitid &&
249
- test_cmp .git/$(git symbolic-ref HEAD) b.commitid'
+test_expect_success 'git get-tar-commit-id' '
+ git get-tar-commit-id <b.tar >actual &&
+ git rev-parse HEAD >expect &&
+ test_cmp expect actual
250
+'
251
252
test_expect_success 'git archive with --output, override inferred format' '
253
git archive --format=tar --output=d4.zip HEAD &&
0 commit comments