Browse Source

Merge branch 'rs/empty-archive'

Implementations of "tar" of BSD descend have found to have trouble
with reading an otherwise empty tar archive with pax headers and
causes an unnecessary test failure.

* rs/empty-archive:
  t5004: fix issue with empty archive test and bsdtar
maint
Junio C Hamano 12 years ago
parent
commit
1931f6d6ea
  1. 2
      t/t5004-archive-corner-cases.sh

2
t/t5004-archive-corner-cases.sh

@ -28,7 +28,7 @@ check_dir() { @@ -28,7 +28,7 @@ check_dir() {
}

test_expect_success 'tar archive of empty tree is empty' '
git archive --format=tar HEAD >empty.tar &&
git archive --format=tar HEAD: >empty.tar &&
make_dir extract &&
"$TAR" xf empty.tar -C extract &&
check_dir extract

Loading…
Cancel
Save