archive-zip: support archives bigger than 4GB
commitaf95749f9b06467e7536da24432b00989a7c8c5a
authorRené Scharfe <l.s.r@web.de>
Mon, 24 Apr 2017 17:32:36 +0000 (24 19:32 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Apr 2017 05:10:51 +0000 (24 22:10 -0700)
treebf8f017544163253924fa614f247852f2fed0e4b
parent3c78fd808d8ed8848fe09735c7755ddd35cfe83f
archive-zip: support archives bigger than 4GB

Add a zip64 extended information extra field to the central directory
and emit the zip64 end of central directory records as well as locator
if the offset of an entry within the archive exceeds 4GB.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive-zip.c
t/t5004-archive-corner-cases.sh