diff options
author | René Scharfe <l.s.r@web.de> | 2017-04-24 19:31:44 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-04-24 22:10:51 -0700 |
commit | 3c78fd808d8ed8848fe09735c7755ddd35cfe83f (patch) | |
tree | 27dd8a3e8469e699a29565c4a4d95d2e0bcb6537 /builtin/check-ref-format.c | |
parent | archive-zip: use strbuf for ZIP directory (diff) | |
download | tgif-3c78fd808d8ed8848fe09735c7755ddd35cfe83f.tar.xz |
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 'builtin/check-ref-format.c')
0 files changed, 0 insertions, 0 deletions