diff options
author | Hariom Verma <hariom18599@gmail.com> | 2021-02-13 01:52:43 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-15 16:48:38 -0800 |
commit | ee82a487f68a7c86551fb59f6176812d63be61b6 (patch) | |
tree | b1628f0a6af93dcf451a60e83ffdc23eb75ceb6d /compat/setenv.c | |
parent | pretty.c: capture invalid trailer argument (diff) | |
download | tgif-ee82a487f68a7c86551fb59f6176812d63be61b6.tar.xz |
ref-filter: use pretty.c logic for trailers
Now, ref-filter is using pretty.c logic for setting trailer options.
New to ref-filter:
:key=<K> - only show trailers with specified key.
:valueonly[=val] - only show the value part.
:separator=<SEP> - inserted between trailer lines.
:key_value_separator=<SEP> - inserted between key and value in trailer lines
Enhancement to existing options(now can take value and its optional):
:only[=val]
:unfold[=val]
'val' can be: true, on, yes or false, off, no.
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Heba Waly <heba.waly@gmail.com>
Signed-off-by: Hariom Verma <hariom18599@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/setenv.c')
0 files changed, 0 insertions, 0 deletions