Here is the reworked implementation and all-new replacement first patch, as suggested by review comments. Minor tweaks to documentation in the second patch, otherwise documentation and test cases are the same. Eli Schwartz (3): pretty.c: rework describe options parsing for better extensibility pretty: add tag option to %(describe) pretty: add abbrev option to %(describe) Documentation/pretty-formats.txt | 16 +++++++--- pretty.c | 55 ++++++++++++++++++++++++++------ t/t4205-log-pretty-formats.sh | 16 ++++++++++ 3 files changed, 72 insertions(+), 15 deletions(-) -- 2.33.1