Skip to content

Commit 06447e2

Browse files
LemmingAvalanchegitster
authored andcommitted
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>
1 parent 53fcba2 commit 06447e2

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Documentation/git-interpret-trailers.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,16 @@ key: This is a very long value, with spaces and
115115
newlines in it.
116116
------------------------------------------------
117117

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+
118128
OPTIONS
119129
-------
120130
`--in-place`::

0 commit comments

Comments
 (0)