Merge branch 'jt/use-trailer-api-in-commands' into next
authorJunio C Hamano <gitster@pobox.com>
Mon, 12 Dec 2016 18:57:07 +0000 (10:57 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Dec 2016 18:57:07 +0000 (10:57 -0800)
commitda1f140ad402a2fb7ce79b19ab288e9711f9dcd4
tree6cea5437be2b68946c2a08580b4bbb1b5d6a04ee
parent6de2350b2bc6709ef002e53d9b27862ee6a38228
parent967dfd4d568c2b102281de8cc22ee35f7558358b
Merge branch 'jt/use-trailer-api-in-commands' into next

Commands that operate on a log message and add lines to the trailer
blocks, such as "format-patch -s", "cherry-pick (-x|-s)", and
"commit -s", have been taught to use the logic of and share the
code with "git interpret-trailer".

* jt/use-trailer-api-in-commands:
  sequencer: use trailer's trailer layout
  trailer: have function to describe trailer layout
  trailer: avoid unnecessary splitting on lines
  commit: make ignore_non_trailer take buf/len
  trailer: be stricter in parsing separators
sequencer.c