This is the first patch series that introduces some improvements and features to file ref-filter.{c,h}. These changes are useful to ref-filter, but in near future also will allow us to use ref-filter's logic in pretty.c I plan to add more to format-support.{c,h} in the upcoming patch series. That will lead to more improved and feature-rich ref-filter.c Hariom Verma (5): ref-filter: support different email formats ref-filter: add `short` option for 'tree' and 'parent' pretty: refactor `format_sanitized_subject()` format-support: move `format_sanitized_subject()` from pretty ref-filter: add `sanitize` option for 'subject' atom Makefile | 1 + format-support.c | 43 +++++++++++++++++++++++++ format-support.h | 6 ++++ pretty.c | 40 +++--------------------- ref-filter.c | 69 ++++++++++++++++++++++++++++++++++------- t/t6300-for-each-ref.sh | 27 ++++++++++++++++ 6 files changed, 138 insertions(+), 48 deletions(-) create mode 100644 format-support.c create mode 100644 format-support.h base-commit: 5c06d60fc55d2213c089f63c282468080f812686 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-684%2Fharry-hov%2Fonly-rf6-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-684/harry-hov/only-rf6-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/684 -- gitgitgadget