Thoughts on git commit mail

John Baldwin jhb at FreeBSD.org
Wed Dec 16 22:18:18 UTC 2020


On 12/15/20 4:20 PM, Dan Langille wrote:
> On Tue, Dec 15, 2020, at 6:59 PM, John Baldwin wrote:
> 
>> 2) I would drop the first sentence.  It's a bit redundant to list
>>    the committer an extra time.  The branch name is useful, but it
>>    might be nicer as metadata if possible, e.g.:
>>
>> Branch: main
> 
> When you say meta-data, do you mean email headers?

No, I mean the part of the mail contents before the actual
commit log that contains 'Key: value' fields.  There are also
mail headers (X-Git-foo) that you can use already.

-- 
John Baldwin


More information about the freebsd-git mailing list