summaryrefslogtreecommitdiff
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorKristoffer Haugsbakk <code@khaugsbakk.name>2026-08-09 22:06:35 +0200
committerJunio C Hamano <gitster@pobox.com>2026-08-10 11:05:52 -0700
commit4515c86fd95ef8de8a1cbea90bb275538bfc87ee (patch)
tree0a6bf5c440e3363a355479d5d1e0a8d2a77b3c41 /contrib/persistent-https
parentcb657364d5c3b82bc32e22fe1eca445d9960032b (diff)
doc: interpret-trailers: document comment line treatment
Comment lines have always been ignored but this is not documented. The primary motivation here is to be reasonably complete in the documentation of how trailers are parsed; this is after all the only documentation page that documents this format. However, and going beyond that point, we could imagine that someone would want to use this format outside a commit (or tag) message context, like say in Git notes. On the other hand, it seems far-fetched that someone would be caught off guard by this considering that comment characters/strings are not likely to be alphanumeric,[1] which would mean that these comment lines would be treated as non-trailer lines if they were *not* detected and removed as comment lines. † 1: A notable exception is that Jujutsu VCS uses `JJ:` as the comment string Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions