The first patch adds (expensive) tests, the next two are cleanups which set the stage for the remaining two to actually implement zip64 support for offsets and file sizes. Half of the series had been laying around for months, half-finished and forgotten because I got distracted by the holiday season. :-/ archive-zip: add tests for big ZIP archives archive-zip: use strbuf for ZIP directory archive-zip: write ZIP dir entry directly to strbuf archive-zip: support archives bigger than 4GB archive-zip: support files bigger than 4GB archive-zip.c | 211 ++++++++++++++++++++++++---------------- t/t5004-archive-corner-cases.sh | 45 +++++++++ t/t5004/big-pack.zip | Bin 0 -> 7373 bytes 3 files changed, 172 insertions(+), 84 deletions(-) create mode 100644 t/t5004/big-pack.zip -- 2.12.2