Code

gitweb: align comments to code
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 31 Jan 2009 01:31:52 +0000 (02:31 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 31 Jan 2009 05:08:49 +0000 (21:08 -0800)
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl

index 87948fc422ff9445ae7bb9a951fcc655fc054462..f27dbb6bf4acfe6f5381d7c86760b1170c8a10ff 100755 (executable)
@@ -2901,14 +2901,14 @@ sub git_header_html {
 <meta name="robots" content="index, nofollow"/>
 <title>$title</title>
 EOF
-# the stylesheet, favicon etc urls won't work correctly with path_info unless we
-# set the appropriate base URL
+       # the stylesheet, favicon etc urls won't work correctly with path_info
+       # unless we set the appropriate base URL
        if ($ENV{'PATH_INFO'}) {
                print '<base href="'.esc_url($my_url).'" />\n';
        }
-# print out each stylesheet that exist
+       # print out each stylesheet that exist, providing backwards capability
+       # for those people who defined $stylesheet in a config file
        if (defined $stylesheet) {
-#provides backwards capability for those people who define style sheet in a config file
                print '<link rel="stylesheet" type="text/css" href="'.$stylesheet.'"/>'."\n";
        } else {
                foreach my $stylesheet (@stylesheets) {