@@ -386,7 +386,7 @@ test_expect_success 'clone shallow with packed refs' '
386
386
'
387
387
388
388
test_expect_success ' in_vain not triggered before first ACK' '
389
- rm -rf myserver myclient trace &&
389
+ rm -rf myserver myclient &&
390
390
git init myserver &&
391
391
test_commit -C myserver foo &&
392
392
git clone "file://$(pwd)/myserver" myclient &&
@@ -399,12 +399,12 @@ test_expect_success 'in_vain not triggered before first ACK' '
399
399
# The new commit that the client wants to fetch.
400
400
test_commit -C myserver bar &&
401
401
402
- GIT_TRACE_PACKET="$(pwd)/trace" git -C myclient fetch --progress origin &&
403
- test_i18ngrep "Total 3 " trace
402
+ git -C myclient fetch --progress origin 2>log &&
403
+ test_i18ngrep "remote: Total 3 " log
404
404
'
405
405
406
406
test_expect_success ' in_vain resetted upon ACK' '
407
- rm -rf myserver myclient trace &&
407
+ rm -rf myserver myclient &&
408
408
git init myserver &&
409
409
410
410
# Linked list of commits on master. The first is common; the rest are
@@ -429,8 +429,8 @@ test_expect_success 'in_vain resetted upon ACK' '
429
429
# first. The 256th commit is common between the client and the server,
430
430
# and should reset in_vain. This allows negotiation to continue until
431
431
# the client reports that first_anotherbranch_commit is common.
432
- GIT_TRACE_PACKET="$(pwd)/trace" git -C myclient fetch --progress origin master &&
433
- test_i18ngrep "Total 3 " trace
432
+ git -C myclient fetch --progress origin master 2>log &&
433
+ test_i18ngrep "Total 3 " log
434
434
'
435
435
436
436
test_expect_success ' fetch in shallow repo unreachable shallow objects' '
0 commit comments