Re: [PATCH 2/2] gitweb: Show trailing slash when listing tree entry in tree listing
- From
Petr Baudis <pasky@suse.cz>
- Date
- Oct 7, 2006, 21:15 UTC
- Message-ID
- <20061007211531.GH20017@pasky.or.cz>
- In-Reply-To
- <eg9378$rln$1@sea.gmane.org>
Dear diary, on Sat, Oct 07, 2006 at 10:38:51PM CEST, I got a letter where Jakub Narebski <jnareb@gmail.com> said that...
Show 12 quoted lines
> Petr Baudis wrote: > > > So, I'd like to either have the view links or the filenames in classical > > link style so that it's apparent they are clickable; I didn't post a > > patch since I didn't have time/energy to fight for it yet. ;-) > > There is a tradeout. Either have easily distinguishable directories and > files, by using both different color and decoration (underline), or we have > filename/directory name clearly marked as link. One or the other. > > That is why I'd rather have this "redundant" blob/tree link (perhaps in > separate column).
As I suggested in another mail, perhaps the whole problem is wrong and you shouldn't have to dug for trees in a bunch of blobs in the first place - let's group all the trees at the top, as all the well-behaved directory listings do.
> But this is a matter of policy, unless we want to add theme support to > gitweb ;-))
We _do_ have that - you can supply your own gitweb.css. But the defaults should be sensible.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)