From: Jonathan Tan Date: Wed, 2 Nov 2016 17:29:20 +0000 (-0700) Subject: sequencer: use trailer's trailer layout X-Git-Tag: v2.12.0-rc0~145^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/967dfd4d568c2b102281de8cc22ee35f7558358b?hp=967dfd4d568c2b102281de8cc22ee35f7558358b 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 Signed-off-by: Junio C Hamano ---