Le Saturday 08 November 2008 23:35:48 Jakub Narebski, vous avez écrit :
OK, good one.
Well, this would also mean to update gitweb.css, wouldn't it?
OK, you lost me somewhat.
What I understand is that right now, the SHA1 links are "pre-processed" by
gitweb so that the 'a' parameter is correct, right?
Out of curiosity, I just went to the kernel git repository (I don't know the
git version that git.kernel.org uses offhand) and altered the 'a' parameter
to something which is not even an 'a' command at all: 500...
However, if I try a VALID 'a' command with an "irrelevant" 'h' parameter, it
acts quite funny: it just looks like it wants to try the closest match, but
takes some time figuring it out... Sometimes to something relevant, sometimes
to nothing really relevant. See for instance [1], in which 'a' was
originally "commit".
Ow.
[1]
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=tag;h=788a5f3f70...
Hmmm, so this means you'd want to make styles customizable somewhat (signoff).
In fact, what you really want is span for CSS! Then why not, just, making a
document to say "This is what you can do with CSS for gitweb", and say "these
are the available CSS tags", and then be done with it?
I mean, when comes the day that someone will WANT other spans to be defined,
badly, it's not like it will be unheard of, won't it?
I still don't get it. Can you give an example?
[personal thoughts: it would be really, really nice if, somewhat, gitweb.perl
were splitted somewhat into different modules, and ideally use more
of "what's out there on CPAN". I'm convinced that some CPAN modules would be
of GREAT help to gitweb, as well as I'm convinced that not many people out
there use Windows to run gitweb anyway :p]
--
fge
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html