Skip to content

pretty: add %(decorate[:<options>]) format

Andy Koppe git 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 2 repliesIn review
  2. v48 patches 1 replySuperseded
  3. v37 patches 1 replySuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8pretty-formats: define "literal formatting code"Documentation/pretty-formats.txt+3 -10 replies
2/8pretty-formats: enclose options in angle bracketsDocumentation/pretty-formats.txt+10 -140 replies
3/8decorate: refactor format_decorations()log-tree.c log-tree.h pretty.c+35 -160 replies
4/8decorate: avoid some unnecessary color overheadlog-tree.c+15 -100 replies
5/8decorate: color each token separatelylog-tree.c t/t4207-log-decoration-colors.sh+36 -220 replies
6/8pretty: add %(decorate[:<options>]) formatDocumentation/pretty-formats.txt pretty.c t/t4205-log-pretty-formats.sh+92 -40 replies
7/8pretty: add pointer and tag options to %(decorate)Documentation/pretty-formats.txt log-tree.c log-tree.h +2 more+31 -50 replies
8/8decorate: use commit color for HEAD arrowlog-tree.c t/t4207-log-decoration-colors.sh+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/8] pretty: add %(decorate[:<options>]) format

Apologies for sending another version so soon, but I realized that I hadn't removed the use of a compound literal from the first commit where I had added it, so it still appeared in the patches. The overall diff for v5 is the same as for v4.

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[:<options>]) 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(-)
Signature · 1 line
2.42.0-rc2