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
This commit is contained in:
commit
1931f6d6ea
@ -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…
Reference in New Issue
Block a user