summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2016-11-02 17:29:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-11-29 22:22:18 (GMT)
commit967dfd4d568c2b102281de8cc22ee35f7558358b (patch)
tree8c356b23728e271b575afadc6d1eba7232fba4a7 /builtin
parente8c352c316f31a3869f3ad1dae0e8b33042cbaf4 (diff)
downloadgit-967dfd4d568c2b102281de8cc22ee35f7558358b.zip
git-967dfd4d568c2b102281de8cc22ee35f7558358b.tar.gz
git-967dfd4d568c2b102281de8cc22ee35f7558358b.tar.bz2
sequencer: use trailer's trailer layout
Make sequencer use trailer.c's trailer layout definition, as opposed to parsing the footer by itself. This makes "commit -s", "cherry-pick -x", and "format-patch --signoff" consistent with trailer, allowing non-trailer lines and multiple-line trailers in trailer blocks under certain conditions, and therefore suppressing the extra newline in those cases. Consistency with trailer extends to respecting trailer configs. Tests have been included to show that. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions