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

Re: ALSA official git repository

From
Junio C Hamano <junkio@cox.net>
Date
May 27, 2005, 18:47 UTC
Message-ID
<7vvf54y092.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.58.0505271026020.17402@ppc970.osdl.org>
>>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes:
LT> On Fri, 27 May 2005, Sean wrote:
Show 9 quoted lines
>> >
>> > Now, arguably gitweb should ignore whitespace at the beginning, but
>> > equally arguably your commits shouldn't have them either...
>> 
>> Perhaps git should enforce this?  Patch attached.
>> 
>> Remove leading empty lines from commit messages.
>> 
>> Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>

LT> I'm not sure. LT> Opinions?

Porcelains and gitweb should play with each other nicely, but the core should _not_ care by default.

An extra option ("--text", perhaps) to git-commit-tree is acceptable to me, and it may be even a good thing to have. It would make life a bit easiear for Porcelain writers if nothing else. If that is to happen, I would say we could do more than just leading blank line removal. We can also remove trailing blanks before each LF, tabify indented log message contents, and remove empty lines before EOF.

Previous: Linus TorvaldsNext: Jaroslav Kysela
Message 4 of 15 in “Re: ALSA official git repository”
  1. Linus TorvaldsMay 27, 2005
  2. SeanMay 27, 2005
  3. Linus TorvaldsMay 27, 2005
  4. Junio C HamanoMay 27, 2005
  5. Jaroslav KyselaMay 27, 2005
  6. Linus TorvaldsMay 27, 2005
  7. Andrew MortonMay 27, 2005
  8. Junio C HamanoMay 27, 2005
  9. Jesper JuhlMay 27, 2005
  10. SchneelockeMay 27, 2005
  11. Linus TorvaldsMay 27, 2005
  12. Andrew MortonMay 27, 2005
  13. Linus TorvaldsMay 28, 2005
  14. Chris WedgwoodMay 28, 2005
  15. Jaroslav KyselaMay 29, 2005

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.