[HN Gopher] Sponsored-By Proposal
       ___________________________________________________________________
        
       Sponsored-By Proposal
        
       Author : edward
       Score  : 32 points
       Date   : 2021-06-16 18:10 UTC (4 hours ago)
        
 (HTM) web link (blog.liw.fi)
 (TXT) w3m dump (blog.liw.fi)
        
       | jph wrote:
       | Good idea. I'm adding your idea now to my open source git commit
       | template: https://github.com/joelparkerhenderson/git-commit-
       | template
       | 
       | What you're suggesting is essentially a "git trailer". A trailer
       | can be automatically parsed by git (and related tools) and needs
       | to be at the end of the message.
       | 
       | The template above explains more about trailers, such as "See:"
       | which can help documentation systems (such as a link to an issue
       | tracker) and "Co-authored-by:" which can help social coding
       | systems (such as a GitHub/GitLab username or email address).
        
         | wizzwizz4 wrote:
         | Note that the de-facto existing standard (FreeBSD) doesn't have
         | the hyphen. If these are intended to be read by tooling, it's
         | probably best to keep consistency with existing practice, even
         | though every other trailer seems to be hyphenated. (The Git
         | software can cope with spaces in trailer names.)
        
       | wizzwizz4 wrote:
       | Seeing as the existing use is without the hyphen, shouldn't this
       | proposal be updated to match?
        
         | dredmorbius wrote:
         | Ken Thompson was once asked what he would do differently if he
         | were redesigning the UNIX system. His reply: "I'd spell creat
         | with an e."
         | 
         | https://en.wikiquote.org/wiki/Ken_Thompson
        
           | remram wrote:
           | The biggest oops we're stuck with is the Referer HTTP header.
           | At least that one was intentional.
        
       | craigds wrote:
       | I believe Git normally refers to these things as "trailers" [0],
       | which seems more accurate since they usually (always?) Follow the
       | commit message rather than preceding it.
       | 
       | [0] https://git-scm.com/docs/git-interpret-trailers
        
         | remram wrote:
         | The name and format matches HTTP trailers which are also a
         | thing (though no one uses them).
        
       | bcaa7f3a8bbc wrote:
       | > _This is a new idea, and has barely been tried. What do you
       | think?_
       | 
       | As the author later pointed out: it's not a new idea, FreeBSD has
       | been doing it for decades. Nevertheless, I agree it deserves
       | broader uses.
        
       ___________________________________________________________________
       (page generated 2021-06-16 23:01 UTC)