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

Re: [PATCH] gitweb: allow space as delimiter in mime.types

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 14, 2011, 21:28 UTC
Message-ID
<7v62o8ksq5.fsf@alter.siamese.dyndns.org>
In-Reply-To
<m3ips8v4s2.fsf@localhost.localdomain>
Jakub Narebski <jnareb@gmail.com> writes:
Show 6 quoted lines
> Ludwig Nussel <ludwig.nussel@suse.de> writes:
>
>> Subject: [PATCH] gitweb: allow space as delimiter in mime.types
>
> A very minor nitpick: perhaps "work with" rather than "allow" would be
> better?

Allow is good; we earlier didn't allow space to be treated as delimiter, with this patch we will do.

Show 13 quoted lines
>> in openSUSE /etc/mime.types has only spaces. I don't know if there's
>> a canonical reference that says that only tabs are allowed. Mutt at
>> least also accepts spaces. So make gitweb more liberal too.
>
> Ack.
>
> It is obviously correct, as names of MUME types cannot contain spaces,
> it makes gitweb work with openSUSE /etc/mime.types, and it makes code
> simpler.
>
>> ---
>
> Signoff (i.e. Signed-off-by)?
Yes, sign-off is missing and necessary.
Thanks.
Previous: J.H.Next: Ludwig Nussel
Message 4 of 5 in “gitweb: allow space as delimiter in mime.types”
  1. gitweb: allow space as delimiter in mime.typesLudwig Nussel, Jun 14, 2011
  2. Jakub NarebskiJun 14, 2011
  3. J.H.Jun 14, 2011
  4. Junio C HamanoJun 14, 2011
  5. gitweb: allow space as delimiter in mime.typesLudwig Nussel, Jun 15, 2011

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.