doc: interpret-trailers: document comment line treatment
Comment lines have always been ignored but this is not documented. This is mostly for completeness since this is unlikely to catch anyone by surprise. But we really ought to be reasonably complete here since it’s the only documentation page that documents trailers. Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Kristoffer Haugsbakk committed
Jun 10, 2026 at 23:21 UTC
06447e2cbd8d4fe80801dae0bc0e216a5e376d65
1 file changed
+10
Documentation/git-interpret-trailers.adoc
+10
@@ -115,6 +115,16 @@ key: This is a very long value, with spaces and
115
newlines in it.
116
------------------------------------------------
117
118
+OTHER RULES
119
+-----------
120
+
121
+What was covered in the previous section are the rules that are relevant
122
+for regular use. The following points are included for completeness.
123
+
124
+This command ignores comment lines (see `core.commentString` in
125
+linkgit:git-config[1]). This is for use with the `prepare-commit-msg`
126
+and `commit-msg` hooks.
127
+
128
OPTIONS
129
-------
130
`--in-place`::