Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/empty-archive'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 18 Apr 2013 18:49:17 +0000
(11:49 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 18 Apr 2013 18:49:17 +0000
(11:49 -0700)
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
t/t5004-archive-corner-cases.sh
patch
|
blob
|
history
raw
(from parent 1:
288aa75
)
diff --git
a/t/t5004-archive-corner-cases.sh
b/t/t5004-archive-corner-cases.sh
index cdb7d7a7f9b59678e4079c61ae5104db51dc05a2..bfdb56a0694db0c6ed07aaa568c648909ac62660 100755
(executable)
--- a/
t/t5004-archive-corner-cases.sh
+++ b/
t/t5004-archive-corner-cases.sh
@@
-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