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

Re: [PATCH/RFC] gitweb: Create Gitweb::Git module

From
Petr Baudis <pasky@suse.cz>
Date
Jun 7, 2010, 14:48 UTC
Message-ID
<20100607144852.GN20775@machine.or.cz>
In-Reply-To
<1275859451-21787-1-git-send-email-pavan.sss1991@gmail.com>
On Mon, Jun 07, 2010 at 02:54:11AM +0530, Pavan Kumar Sunkara wrote:
Show 12 quoted lines
> @@ -39,9 +38,8 @@ BEGIN {
>  # with their descriptions is listed in Gitweb::Config.
>  $version = "++GIT_VERSION++";
>  
> -# core git executable to use
> -# this can just be "git" if your webserver has a sensible PATH
> -our $GIT = "++GIT_BINDIR++/git";
> +#only this variable has it's root in Gitweb::Git
> +$GIT = "++GIT_BINDIR++/git";
>  
>  $projectroot = "++GITWEB_PROJECTROOT++";
>  $project_maxdepth = "++GITWEB_PROJECT_MAXDEPTH++";

That comment is super-cryptic, I'd suggest either rewording it or dropping it completely.

> @@ -1548,21 +1536,6 @@ sub get_feed_info {
>  ## ----------------------------------------------------------------------
>  ## git utility subroutines, invoking git commands

Is there any reason why didn't you move the rest of the commands from this section to Gitweb::Git as well?

				Petr "Pasky" Baudis
Previous: Pavan Kumar SunkaraNext: Jakub Narebski
Message 4 of 5 in “gitweb: Create Gitweb::Git module”
  1. gitweb: Create Gitweb::Git modulePavan Kumar Sunkara, Jun 6, 2010
  2. Jakub NarebskiJun 7, 2010
  3. Pavan Kumar SunkaraJun 7, 2010
  4. Petr BaudisJun 7, 2010
  5. Jakub NarebskiJun 7, 2010

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.