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

Re: [PATCH v1] Configure Git contribution guidelines for github.com

From
Lars Schneider <larsxschneider@gmail.com>
Date
Jun 13, 2017, 07:51 UTC
Message-ID
<DCA2782B-3439-4586-8105-170E47FA56C9@gmail.com>
In-Reply-To
<20170610073521.ewjzvtpha3xgoe6z@sigill.intra.peff.net>
Show 12 quoted lines
> On 10 Jun 2017, at 09:35, Jeff King <peff@peff.net> wrote:
> 
> On Fri, Jun 09, 2017 at 10:03:57AM -0700, Jonathan Nieder wrote:
> 
>> Would putting a PULL_REQUEST_TEMPLATE and CONTRIBUTING in the
>> top-level directory work?  If I'm reading
>> https://help.github.com/articles/setting-guidelines-for-repository-contributors/#adding-a-contributing-file
>> correctly then it seems to say the ".github/" prefix is optional.
> 
> Yes, that should work. The ".github" option is there if you don't want
> the cruft at your top-level. I don't mind CONTRIBUTING, but
> PULL_REQUEST_TEMPLATE is kind of gross. :)
I think so, too :)
Show 10 quoted lines
>> I also find the long source lines hard to read.  Can you say more
>> about how broken lines render in the github.com web interface?  I
>> would have expected github's markdown renderer to behave like others
>> and cope with line wrapping.
> 
> GitHub-Flavored Markdown treats newlines as a line break in the rendered
> output, unlike the original Markdown implementation. I don't like that
> myself, but it was done in the early days after seeing how many people
> accidentally butchered their formatting because they expected the output
> to look more like what they typed.

That's what I had in my memory based on past experience, too. However, out of curiosity I just tried it and it looks like they have changed it. I'll reformat with 80 chars.

- Lars
Previous: Jeff KingNext: Philip Oakley
Message 9 of 17 in “Configure Git contribution guidelines for github.com”
  1. Configure Git contribution guidelines for github.comLars Schneider, Jun 9, 2017
  2. Ævar Arnfjörð BjarmasonJun 9, 2017
  3. Lars SchneiderJun 9, 2017
  4. Junio C HamanoJun 10, 2017
  5. Jonathan NiederJun 9, 2017
  6. Junio C HamanoJun 10, 2017
  7. Lars SchneiderJun 13, 2017
  8. Jeff KingJun 10, 2017
  9. Lars SchneiderJun 13, 2017
  10. Philip OakleyJun 10, 2017
  11. Junio C HamanoJun 12, 2017
  12. Lars SchneiderJun 13, 2017
  13. Ævar Arnfjörð BjarmasonJun 15, 2017
  14. Junio C HamanoJun 15, 2017
  15. Andreas HeidukJun 15, 2017
  16. Junio C HamanoJun 15, 2017
  17. Lars SchneiderJun 13, 2017

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.