summaryrefslogtreecommitdiff
path: root/t/t5003-archive-zip.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-03-25 14:00:48 -0700
committerJunio C Hamano <gitster@pobox.com>2013-03-25 14:00:48 -0700
commit63868f636fe44b67bc56753b0e6edca32568e07c (patch)
tree738718ff0c6df1586f174466a99a7ca24f1a31f5 /t/t5003-archive-zip.sh
parent573f1a9cf163365637a36a6d95c670883a918352 (diff)
parentbd54cf17a4acfb9555b8a83b7e74fb0274c38bb4 (diff)
downloadgit-63868f636fe44b67bc56753b0e6edca32568e07c.tar.gz
Merge branch 'jk/empty-archive'
"git archive" reports a failure when asked to create an archive out of an empty tree. It would be more intuitive to give an empty archive back in such a case. * jk/empty-archive: archive: handle commits with an empty tree test-lib: factor out $GIT_UNZIP setup
Diffstat (limited to 't/t5003-archive-zip.sh')
-rwxr-xr-xt/t5003-archive-zip.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/t/t5003-archive-zip.sh b/t/t5003-archive-zip.sh
index 6a33606d28..4e7b05dd23 100755
--- a/t/t5003-archive-zip.sh
+++ b/t/t5003-archive-zip.sh
@@ -3,15 +3,9 @@
test_description='git archive --format=zip test'
. ./test-lib.sh
-GIT_UNZIP=${GIT_UNZIP:-unzip}
SUBSTFORMAT=%H%n
-test_lazy_prereq UNZIP '
- "$GIT_UNZIP" -v
- test $? -ne 127
-'
-
test_lazy_prereq UNZIP_SYMLINKS '
(
mkdir unzip-symlinks &&