summaryrefslogtreecommitdiffstats
path: root/t/t4018/cpp-function-returning-pointer
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2017-04-24 19:30:49 +0200
committerJunio C Hamano <gitster@pobox.com>2017-04-24 22:10:43 -0700
commitc061a149709195e0ec914a5d6ba173042e4197f9 (patch)
tree538ca1fac2ab7c397bac63fc6cce50cd7bd1332d /t/t4018/cpp-function-returning-pointer
parent758c1f9d1bcab5115f5d9e990c952602ea58a161 (diff)
downloadgit-c061a149709195e0ec914a5d6ba173042e4197f9.tar.gz
git-c061a149709195e0ec914a5d6ba173042e4197f9.zip
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 't/t4018/cpp-function-returning-pointer')
0 files changed, 0 insertions, 0 deletions