Martin Waitz wrote: > On Sun, Jul 30, 2006 at 06:20:26PM -0700, Junio C Hamano wrote: >> >> I think the other parts are sensible but I am not sure if we >> want to report the version of git distribution (your patch), or >> the version of git binary the cgi script happens to use (the >> current implementation). > > hmm, right. > Well, now that gitweb is included with GIT I think that they will > be in sync on many sites, but of course that's not guaranteed. > > Shall I send a new patch without that change? There are currently two version variables in gitweb: the version of the script, and the version of git binaries used. They might be different. But now that gitweb is bundled with git, perhaps we could use compile-time git version as gitweb version, i.e. our $version = "@@GIT_VERSION@@"; while leaving $git_version as is, i.e. our $git_version = qx($GIT --version) =~ m/git version (.*)$/ ? $1 : "unknown" -- Jakub Narebski Warsaw, Poland ShadeHawk on #git - : 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