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:31:44 +0200
committerJunio C Hamano <gitster@pobox.com>2017-04-24 22:10:51 -0700
commit3c78fd808d8ed8848fe09735c7755ddd35cfe83f (patch)
tree27dd8a3e8469e699a29565c4a4d95d2e0bcb6537 /t/t4018/cpp-function-returning-pointer
parentc061a149709195e0ec914a5d6ba173042e4197f9 (diff)
downloadgit-3c78fd808d8ed8848fe09735c7755ddd35cfe83f.tar.gz
git-3c78fd808d8ed8848fe09735c7755ddd35cfe83f.zip
archive-zip: write ZIP dir entry directly to strbuf
Write all fields of the ZIP directory record for an archive entry in the right order directly into the strbuf instead of taking a detour through a struct. Do that at end, when we have all necessary data like checksum and compressed size. The fields are documented just as well, the code becomes shorter and we save an extra copy. 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