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

Re: [PATCH] gitweb: add a setting to control the tabstop width

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Mar 4, 2008, 03:35 UTC
Message-ID
<46a038f90803031935s7957a700nb5d3ba09b6575423@mail.gmail.com>
In-Reply-To
<7vhcfnfljw.fsf@gitster.siamese.dyndns.org>
On Tue, Mar 4, 2008 at 12:13 PM, Junio C Hamano <gitster@pobox.com> wrote:
>  Some people say "Tabs are 8 characters, and thus indentations are also 8
>  characters.  There are heretic movements that try to make indentations 4
>  (or even 2!)  characters deep, and that is akin to trying to define the
>  value of PI to be 3."  Some people disagree.

And on the web, people use CSS to sort these disagreements amicably... As a web apps guy, adding a setting for something like this, and then changing the output feels _very_ weird, as it breaks with a lot of stuff that Just Works in the HTTP+HTML world even for users that view it differently... like caching :-)

cheers,
martin
Previous: Junio C HamanoNext: Jakub Narebski
Message 7 of 10 in “gitweb: add a setting to control the tabstop width”
  1. gitweb: add a setting to control the tabstop widthCharles Bailey, Mar 3, 2008
  2. Jakub NarebskiMar 3, 2008
  3. Charles BaileyMar 3, 2008
  4. Jakub NarebskiMar 4, 2008
  5. Jakub NarebskiMar 3, 2008
  6. Junio C HamanoMar 3, 2008
  7. Martin LanghoffMar 4, 2008
  8. Jakub NarebskiMar 4, 2008
  9. Charles BaileyMar 4, 2008
  10. Charles BaileyMar 4, 2008

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.