aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2016-10-21 10:55:02 -0700
committerJunio C Hamano <gitster@pobox.com>2016-10-21 11:48:35 -0700
commitc463a6b28023dd3ad7ad4542147e20c27dbc83d6 (patch)
tree86aef84aedfa56c587b2480081f3b442ce3b2e3d /Documentation
parent146245063e286d5a38b146bd5a38da958bd3957b (diff)
downloadgit-c463a6b28023dd3ad7ad4542147e20c27dbc83d6.tar.gz
git-c463a6b28023dd3ad7ad4542147e20c27dbc83d6.tar.xz
trailer: forbid leading whitespace in trailers
Currently, interpret-trailers allows leading whitespace in trailer lines. This leads to false positives, especially for quoted lines or bullet lists. Forbid leading whitespace in trailers. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-interpret-trailers.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-interpret-trailers.txt b/Documentation/git-interpret-trailers.txt
index cf4c5ea45..4966b5b10 100644
--- a/Documentation/git-interpret-trailers.txt
+++ b/Documentation/git-interpret-trailers.txt
@@ -55,7 +55,7 @@ The group must either be at the end of the message or be the last
non-whitespace lines before a line that starts with '---'. Such three
minus signs start the patch part of the message.
-When reading trailers, there can be whitespaces before and after the
+When reading trailers, there can be whitespaces after the
token, the separator and the value. There can also be whitespaces
inside the token and the value.