From: Jonathan Nieder Date: Sat, 01 Jan 2011 10:41:21 GMT Subject: Re: [PATCH 0/4 v4] minor gitweb modifications Message-ID: <20110101104121.GA12734@burratino> In-Reply-To: <1293744031-17790-1-git-send-email-sylvain@abstraction.fr> (adding back cc: jakub) Hi, Sylvain Rabot wrote: > gitweb: add extensions to highlight feature map > gitweb: remove unnecessary test when closing file descriptor I like the above two. > gitweb: add css class to remote url titles I had a question (why make the remote url table inconsistent with the older projects_list table) and suggested a more generic approach in reply to v2[1]: ... The idea was that the rows are already labelled for use by css, so to make this stylable all we need to do is use a class for the first column. This way if some site operator wants the first column *always* be bold then that is easy to do. Another approach with similar effect would be
description
Unnamed repository; edit this file to name it for gitweb
owner>
UNKNOWN
... but that does not degrade as well to browsers not supporting css. Any thoughts on this? > gitweb: add vim modeline header which describes gitweb coding rule I don't like this one. Isn't the tabstop whatever the reader wants it to be (e.g., 8)? I don't like modelines as a way of documenting coding standards because (1) they are not clear to humans and editors other than vim (2) they require annotating each source file separately. See [1] for an alternative approach to configuring an editor to hack on git. Regards, Jonathan [1] http://thread.gmane.org/gmane.comp.version-control.git/109462/focus=109538
Unnamed repository; edit this file to name it for gitweb.
UNKNOWN