diff options
author | Hariom Verma <hariom18599@gmail.com> | 2020-08-21 21:41:50 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-28 13:52:51 -0700 |
commit | 905f0a4e64bef35482a999dd01c64945b260c010 (patch) | |
tree | 14b8cf6595a2a14fc211ac7208e83a97ec4fb9a4 /t/t4039-diff-assume-unchanged.sh | |
parent | pretty: refactor `format_sanitized_subject()` (diff) | |
download | tgif-905f0a4e64bef35482a999dd01c64945b260c010.tar.xz |
ref-filter: add `sanitize` option for 'subject' atom
Currently, subject does not take any arguments. This commit introduce
`sanitize` formatting option to 'subject' atom.
`subject:sanitize` - print sanitized subject line, suitable for a filename.
e.g.
%(subject): "the subject line"
%(subject:sanitize): "the-subject-line"
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 't/t4039-diff-assume-unchanged.sh')
0 files changed, 0 insertions, 0 deletions