summaryrefslogtreecommitdiff
path: root/t/t1050-large.sh
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2012-05-03 08:51:07 +0700
committerJunio C Hamano <gitster@pobox.com>2012-05-03 10:22:57 -0700
commit2158f883d99a92f801534c91294305ccbe171f79 (patch)
tree67eb46d1b30089cd27f179864ad7fff320e37691 /t/t1050-large.sh
parentebf5374afa87afa334b040faec35144c2a3d03d5 (diff)
downloadgit-2158f883d99a92f801534c91294305ccbe171f79.tar.gz
archive-zip: streaming for stored files
Write a data descriptor containing the CRC of the entry and its sizes after streaming it out. For simplicity, do that only if we're storing files (option -0) for now. t5000 verifies output. t1050 makes sure the command always respects core.bigfilethreshold Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1050-large.sh')
-rwxr-xr-xt/t1050-large.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t1050-large.sh b/t/t1050-large.sh
index fe475542f5..9db54b56bc 100755
--- a/t/t1050-large.sh
+++ b/t/t1050-large.sh
@@ -138,4 +138,8 @@ test_expect_success 'tar achiving' '
git archive --format=tar HEAD >/dev/null
'
+test_expect_success 'zip achiving, store only' '
+ git archive --format=zip -0 HEAD >/dev/null
+'
+
test_done