summaryrefslogtreecommitdiff
path: root/sub-process.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2020-09-19 23:23:32 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-09-19 15:56:05 -0700
commit200589abcb4d7f107ed9da85e43b9a7268016c23 (patch)
tree1b9e0829b242a6a1439ee9b115700842460737ad /sub-process.h
parentFifteenth batch (diff)
downloadtgif-200589abcb4d7f107ed9da85e43b9a7268016c23.tar.xz
archive: read short blobs in archive.c::write_archive_entry()
Centralize reading of symlink destinations and the contents of regular files that are too small to be streamed. This reduces code duplication and allows future patches to add support for adding non-tracked files to archives. The backends are expected to stream blobs if buffer is NULL. object_file_to_archive() is only called from archive.c and thus no longer exported. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sub-process.h')
0 files changed, 0 insertions, 0 deletions