mbox series

[v4,0/8] pretty: add %(decorate[:<options>]) format

Message ID 20230820085336.8615-1-andy.koppe@gmail.com (mailing list archive)
Headers show
Series pretty: add %(decorate[:<options>]) format | expand

Message

Andy Koppe Aug. 20, 2023, 8:53 a.m. UTC
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[:<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(-)

Comments

Junio C Hamano Aug. 21, 2023, 7:01 p.m. UTC | #1
Andy Koppe <andy.koppe@gmail.com> writes:

> Compared to v3, this avoids introducing a compound literal, and splits
> part of patch 5 into an additional patch 8.

Thanks, will requeue.