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

Re: [PATCH] gitweb: fill in gitweb configuration by Makefile

From
Jakub Narebski <jnareb@gmail.com>
Date
Jul 31, 2006, 07:38 UTC
Message-ID
<eakc16$p77$1@sea.gmane.org>
In-Reply-To
<20060731070819.GD16364@admingilde.org>
Martin Waitz wrote:
Show 12 quoted lines
> 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
Previous: Martin WaitzNext: Martin Waitz
Message 4 of 13 in “gitweb: fill in gitweb configuration by Makefile”
  1. gitweb: fill in gitweb configuration by MakefileMartin Waitz, Jul 30, 2006
  2. Junio C HamanoJul 31, 2006
  3. Martin WaitzJul 31, 2006
  4. Jakub NarebskiJul 31, 2006
  5. Martin WaitzAug 1, 2006
  6. Luben TuikovJul 31, 2006
  7. Luben TuikovJul 31, 2006
  8. Junio C HamanoJul 31, 2006
  9. Martin WaitzJul 31, 2006
  10. Johannes SchindelinJul 31, 2006
  11. Luben TuikovJul 31, 2006
  12. Jon LoeligerJul 31, 2006
  13. Jakub NarebskiJul 31, 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.