git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] signature-format.txt: explain and illustrate multi-line headers

From
RBRob Browning <rlb@defaultvalue.org>
Date
Oct 14, 2021, 05:12 UTC
Message-ID
<87zgrcgpez.fsf@trouble.defaultvalue.org>
In-Reply-To
<xmqqtuhlisqe.fsf_-_@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> A signature attached to a signed commit, and the contents of the
> commit that merged a signed tag, are both recorded as a value of an
> object header field as a multi-line value, and are subject to the
> formatting convention for multi-line values in the headers, with a
> leading SP signaling that the rest of the line is a continuation of
> the previous line.  Most notably, an empty line in such a multi-line
> value would result in a line with a sole SP on it.

One question I had was whether git's requirement was strictly a space, or if it was following the rfc-822 convention where (if I remember correctly) a tab is equivalent, i.e. the LWSP production in the grammar.

https://datatracker.ietf.org/doc/html/rfc822#section-3.2
Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 11 in “signature-format.txt: add space to fix gpgsig continuation line”
  1. 1/1 signature-format.txt: add space to fix gpgsig continuation lineRob Browning, Oct 9, 2021
  2. Jeff KingOct 11, 2021
  3. Junio C HamanoOct 11, 2021
  4. Jeff KingOct 12, 2021
  5. Junio C HamanoOct 12, 2021
  6. signature-format.txt: explain and illustrate multi-line headersJunio C Hamano, Oct 13, 2021
  7. Rob BrowningOct 14, 2021
  8. Junio C HamanoOct 14, 2021
  9. Rob BrowningOct 15, 2021
  10. Junio C HamanoOct 15, 2021
  11. Rob BrowningOct 15, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.