summaryrefslogtreecommitdiff
path: root/compat/mmap.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2016-11-02 10:29:19 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-11-29 14:22:18 -0800
commite8c352c316f31a3869f3ad1dae0e8b33042cbaf4 (patch)
tree6465a49e1e40e79e40243a3643431d7eb69483ad /compat/mmap.c
parenttrailer: avoid unnecessary splitting on lines (diff)
downloadtgif-e8c352c316f31a3869f3ad1dae0e8b33042cbaf4.tar.xz
trailer: have function to describe trailer layout
Create a function that, taking a string, describes the position of its trailer block (if available) and the contents thereof, and make trailer use it. This makes it easier for other Git components, in the future, to interpret trailer blocks in the same way as trailer. In a subsequent patch, another component will be made to use this. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/mmap.c')
0 files changed, 0 insertions, 0 deletions