summaryrefslogtreecommitdiff
path: root/builtin/prune-packed.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-04-24 19:30:49 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-04-24 22:10:43 -0700
commitc061a149709195e0ec914a5d6ba173042e4197f9 (patch)
tree538ca1fac2ab7c397bac63fc6cce50cd7bd1332d /builtin/prune-packed.c
parentarchive-zip: add tests for big ZIP archives (diff)
downloadtgif-c061a149709195e0ec914a5d6ba173042e4197f9.tar.xz
archive-zip: use strbuf for ZIP directory
Keep the ZIP central directory, which is written after all archive entries, in a strbuf instead of a custom-managed buffer. It contains binary data, so we can't (and don't want to) use the full range of strbuf functions and we don't need the terminating NUL, but the result is shorter and simpler code. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/prune-packed.c')
0 files changed, 0 insertions, 0 deletions