File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ test_expect_success 'git archive' '
185
185
'
186
186
187
187
check_tar b
188
+ check_mtime b a/a 1117231200
188
189
189
190
test_expect_success ' git archive --mtime' '
190
191
git archive --mtime=2002-02-02T02:02:02-0200 HEAD >with_mtime.tar
@@ -257,14 +258,6 @@ test_expect_success 'git archive --remote with configured remote' '
257
258
test_cmp_bin b.tar b5-nick.tar
258
259
'
259
260
260
- test_expect_success ' validate file modification time' '
261
- mkdir extract &&
262
- "$TAR" xf b.tar -C extract a/a &&
263
- test-tool chmtime --get extract/a/a >b.mtime &&
264
- echo "1117231200" >expected.mtime &&
265
- test_cmp expected.mtime b.mtime
266
- '
267
-
268
261
test_expect_success ' git get-tar-commit-id' '
269
262
git get-tar-commit-id <b.tar >actual &&
270
263
git rev-parse HEAD >expect &&
You can’t perform that action at this time.
0 commit comments