diff options
author | Jean-Noël Avila <jn.avila@free.fr> | 2025-07-07 18:53:30 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-07-07 13:45:00 -0700 |
commit | ca484a90e27c79083ecca3adf2bc8d3c42a5f006 (patch) | |
tree | 217260228d9cc921503de05e6d0ede69f7c5d504 /git-gui/lib/commit.tcl | |
parent | 06db6a3c4a9e23e575f9e5e7f812358deaf11834 (diff) |
doc: git-log: convert pretty formats to new doc format
- Use _<placeholder>_ instead of <placeholder> in the description
- Use `backticks` for keywords and more complex option
descriptions. The new rendering engine will apply synopsis rules to
these spans.
For all the formats in the form of %(foo), the formatting needs to be
heavier because we not want the parentheses to be rendered as syntax
elements,but as keywords, i.e. we need to circumvent the syntax highlighting
of synopsis. In this particular case, this requires the heavy escaping of
the parts that contain parentheses with ++.
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions