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

Re: gitweb.cgi and git instaweb

From
Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Date
Oct 27, 2006, 05:56 UTC
Message-ID
<45419F75.6060103@gmail.com>
In-Reply-To
<ehr00n$vbe$1@sea.gmane.org>
Aneesh Kumar K.V wrote:
Show 9 quoted lines
> I am getting errors as below with git instaweb.
> 
> 
> kvaneesh@satan:/home/opensource/vanilla/linux-2.6-git$ git instaweb
> 2006-10-27 00:12:56: (log.c.75) server started
> kvaneesh@satan:/home/opensource/vanilla/linux-2.6-git$ [Fri Oct 27 
> 00:12:57 2006] gitweb.cgi: "our" variable $stylesheet masks earlier 
> declaration in same scope at 
>
The attached patch should fix it.
-aneesh
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index ba7a42a..1962c76 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -55,8 +55,6 @@ our $stylesheet;
 # default is not to define style sheet, but it can be overwritten later
 undef $stylesheet;
 
-# URI of default stylesheet
-our $stylesheet = "++GITWEB_CSS++";
 # URI of GIT logo (72x27 size)
 our $logo = "++GITWEB_LOGO++";
 # URI of GIT favicon, assumed to be image/png type
Previous: Aneesh Kumar K.VNext: Junio C Hamano
Message 2 of 5 in “gitweb.cgi and git instaweb”
  1. Aneesh Kumar K.VOct 26, 2006
  2. Aneesh Kumar K.VOct 27, 2006
  3. Junio C HamanoOct 27, 2006
  4. Aneesh Kumar K.VOct 27, 2006
  5. Petr BaudisOct 27, 2006

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.