From: Junio C Hamano Date: Tue, 08 Apr 2014 21:26:40 GMT Subject: Re: [PATCH v10 11/12] Documentation: add documentation for 'git interpret-trailers' Message-ID: In-Reply-To: <20140406170204.15116.15559.chriscool@tuxfamily.org> Christian Couder writes: > +Help add RFC 822-like headers, called 'trailers', at the end of the > +otherwise free-form part of a commit message. I think it is somewhat misleading to use the word "headers" like that. 'trailers' look similar to RFC-822-headers but they come at the end. The sentence however reads as if they are "headers" that look like RFC 822. Perhaps shuffling words like so: Help adding 'trailers' lines, that look similar to RFC 822 e-mail headers, at the end of the ... would make it less confusing. > +Some configuration variables control the way the `token` arguments are > +applied to the message and the way any existing trailer in the message > +is changed. They also make it possible to automatically add some > +trailers. > + > +By default, a 'token=value' or 'token:value' argument will be added > +only if no trailer with the same (token, value) pair is already in the > +message. The 'token' and 'value' parts will be trimmed to remove > +starting and trailing whitespace, and the resulting trimmed 'token' > +and 'value' will appear in the message like this: > + > +------------------------------------------------ > +token: value > +------------------------------------------------ Mental note: this does assume that the final output for the 'token' is to have a line