diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-01-06 23:33:43 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-06 23:33:43 -0800 |
commit | b62bbd358025b39d0524a37a55bba47811128f6f (patch) | |
tree | 1861b04706fe51a7a2cbd25807b2a431bf555c56 /trailer.h | |
parent | Merge branch 'pk/subsub-fetch-fix-take-2' (diff) | |
parent | pretty format %(trailers): add a "key_value_separator" (diff) | |
download | tgif-b62bbd358025b39d0524a37a55bba47811128f6f.tar.xz |
Merge branch 'ab/trailers-extra-format'
The "--format=%(trailers)" mechanism gets enhanced to make it
easier to design output for machine consumption.
* ab/trailers-extra-format:
pretty format %(trailers): add a "key_value_separator"
pretty format %(trailers): add a "keyonly"
pretty-format %(trailers): fix broken standalone "valueonly"
pretty format %(trailers) doc: avoid repetition
pretty format %(trailers) test: split a long line
Diffstat (limited to 'trailer.h')
-rw-r--r-- | trailer.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -71,8 +71,10 @@ struct process_trailer_options { int only_input; int unfold; int no_divider; + int key_only; int value_only; const struct strbuf *separator; + const struct strbuf *key_value_separator; int (*filter)(const struct strbuf *, void *); void *filter_data; }; |