diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2016-11-02 10:29:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-11-29 14:22:18 -0800 |
commit | e8c352c316f31a3869f3ad1dae0e8b33042cbaf4 (patch) | |
tree | 6465a49e1e40e79e40243a3643431d7eb69483ad /builtin/mktree.c | |
parent | trailer: avoid unnecessary splitting on lines (diff) | |
download | tgif-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 'builtin/mktree.c')
0 files changed, 0 insertions, 0 deletions