]> git.ipfire.org Git - thirdparty/git.git/commit - ref-filter.c
pretty, ref-filter: format %(trailers) with no_divider option
authorJeff King <peff@peff.net>
Thu, 23 Aug 2018 00:50:17 +0000 (20:50 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Aug 2018 17:08:51 +0000 (10:08 -0700)
commite5fba5d55886eaf48aeeb158dd4d30c2fc0294c9
tree31eff0b791e7d3dbc8b270a69789ab363ba89577
parent1688c9a4894df517241026c7a3848bdc84607986
pretty, ref-filter: format %(trailers) with no_divider option

In both of these cases we know that we are feeding the
trailer-parsing code a pure commit message. We should tell
it so, which avoids false positives for a commit message
that contains a "---" line.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pretty.c
ref-filter.c
t/t4205-log-pretty-formats.sh
t/t6300-for-each-ref.sh