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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 07, 2010 at 02:54:11AM +0530, Pavan Kumar Sunkara wrote:
> @@ -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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]