From: Andy Koppe Date: Sun, 20 Aug 2023 08:53:28 GMT Subject: [PATCH v4 0/8] pretty: add %(decorate[:]) format Message-ID: <20230820085336.8615-1-andy.koppe@gmail.com> In-Reply-To: <20230810211619.19055-1-andy.koppe@gmail.com> Compared to v3, this avoids introducing a compound literal, and splits part of patch 5 into an additional patch 8. Andy Koppe (7): pretty-formats: enclose options in angle brackets decorate: refactor format_decorations() decorate: avoid some unnecessary color overhead decorate: color each token separately pretty: add %(decorate[:]) format pretty: add pointer and tag options to %(decorate) decorate: use commit color for HEAD arrow Junio C Hamano (1): pretty-formats: define "literal formatting code" Documentation/pretty-formats.txt | 47 +++++++++++++------- log-tree.c | 72 +++++++++++++++++++++--------- log-tree.h | 17 ++++--- pretty.c | 76 +++++++++++++++++++++++++++++--- t/t4205-log-pretty-formats.sh | 32 ++++++++++++++ t/t4207-log-decoration-colors.sh | 44 ++++++++++-------- 6 files changed, 219 insertions(+), 69 deletions(-) -- 2.42.0-rc2