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

[PATCHv5 3/3] gitweb: align comments to code

From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date
Jan 31, 2009, 01:31 UTC
Message-ID
<1233365512-7130-4-git-send-email-giuseppe.bilotta@gmail.com>
In-Reply-To
<1233365512-7130-3-git-send-email-giuseppe.bilotta@gmail.com>
---
 gitweb/gitweb.perl |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 538bd5a..c5f0130 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -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) {
-- 
1.5.6.5
Previous: Giuseppe BilottaNext: Jakub Narebski
Message 4 of 7 in “[PATCHv5 0/3] gitweb: make static files accessible with PATH_INFO”
  1. Giuseppe BilottaJan 31, 2009
  2. 1/3 gitweb: make static files accessible with PATH_INFOGiuseppe Bilotta, Jan 31, 2009
  3. 2/3 gitweb: webserver config for PATH_INFOGiuseppe Bilotta, Jan 31, 2009
  4. 3/3 gitweb: align comments to codeGiuseppe Bilotta, Jan 31, 2009
  5. 4/3 gitweb: Update README that gitweb works better with PATH_INFOJakub Narebski, Feb 1, 2009
  6. Jakub NarebskiJan 31, 2009
  7. Junio C HamanoFeb 1, 2009

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.