]> git.ipfire.org Git - thirdparty/git.git/commit - pretty.c
pretty: allow showing specific trailers
authorAnders Waldenborg <anders@0x63.nu>
Mon, 28 Jan 2019 21:33:34 +0000 (22:33 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jan 2019 18:03:32 +0000 (10:03 -0800)
commit250bea0c1652ad546cd0455852bd734e4820ec46
tree63046899319a3db38cb320d7faddf6d3cc91e63e
parent3e3f34781964c225ca199ac50527f3ce6feddb84
pretty: allow showing specific trailers

Adds a new "key=X" option to "%(trailers)" which will cause it to only
print trailer lines which match any of the specified keys.

Signed-off-by: Anders Waldenborg <anders@0x63.nu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt
pretty.c
t/t4205-log-pretty-formats.sh
trailer.c
trailer.h