doc: log: fix --decorate description list
026f2e3b (doc: convert git-log to new documentation format, 2025-07-07) transformed the inline description of `--decorate` options to a description list: We also transform inline descriptions of possible values of option --decorate into a list, which is more readable and extensible. But a source code block was used instead of an open block. Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Kristoffer Haugsbakk committed
Apr 27, 2026 at 21:06 UTC
31d19899c7a0e08e8cf843ea1abe7504eb3a1d34
1 file changed
+2
-2
Documentation/git-log.adoc
+2
-2
@@ -36,14 +36,14 @@ OPTIONS
36
Print out the ref names of any commits that are shown. Possible values
37
are:
38
+
39
-----
39
+--
40
`short`;; the ref name prefixes `refs/heads/`, `refs/tags/` and
41
`refs/remotes/` are not printed.
42
`full`;; the full ref name (including prefix) is printed.
43
`auto`:: if the output is going to a terminal, the ref names
44
are shown as if `short` were given, otherwise no ref names are
45
shown.
46
-----
46
+--
47
+
48
The option `--decorate` is short-hand for `--decorate=short`. Default to
49
configuration value of `log.decorate` if configured, otherwise, `auto`.