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

Re: [PATCH] gitweb: Use the git binary in the search path by default

From
Junio C Hamano <junkio@cox.net>
Date
Jul 11, 2006, 19:56 UTC
Message-ID
<7vzmff3ogn.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<11526131791902-git-send-email-alp@atoker.com>
Alp Toker <alp@atoker.com> writes:
> Introduce a sensible default for the location of the git binary used by
> gitweb. This means one less option to configure when deploying gitweb if
> git is in the search path.

While I think the part of the change to make things go through the single "git" wrapper is a good idea, the comment to "our $GIT" that says "absolute path is optional" makes this change more like "assume PATH your webserver process uses is sensible", not "introduce a sensible default".

So I would prefer to do that part like this:

-# location of the git-core binaries -our $gitbin = "/usr/bin"; +# core git wrapper -- if your webserver runs with a sensible PATH +# you can just say "git" without using absolute pathname here. +our $GIT = "/usr/bin/git";

Previous: Petr BaudisNext: Martin Langhoff
Message 14 of 17 in “Typo fix”
  1. Typo fixAlp Toker, Jul 11, 2006
  2. gitweb: Send XHTML as 'application/xhtml+xml' where possibleAlp Toker, Jul 11, 2006
  3. gitweb: Include a site name in page titlesAlp Toker, Jul 11, 2006
  4. gitweb: Use the git binary in the search path by defaultAlp Toker, Jul 11, 2006
  5. git-send-email: Remove redundant Reply-To headerAlp Toker, Jul 11, 2006
  6. Install built-ins as symlinksAlp Toker, Jul 11, 2006
  7. Andreas EricssonJul 11, 2006
  8. Johannes SchindelinJul 11, 2006
  9. Alp TokerJul 11, 2006
  10. Johannes SchindelinJul 11, 2006
  11. Petr BaudisJul 11, 2006
  12. Alex RiesenJul 12, 2006
  13. Petr BaudisJul 11, 2006
  14. Junio C HamanoJul 11, 2006
  15. Martin LanghoffJul 11, 2006
  16. Junio C HamanoJul 11, 2006
  17. Pavel RoskinJul 11, 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.