]> rtime.felk.cvut.cz Git - git.git/commit
git-instaweb: pass through invoking user's path to gitweb CGI scripts
authorChris Webb <chris@arachsys.com>
Thu, 15 Apr 2010 13:29:45 +0000 (14:29 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Apr 2010 19:40:20 +0000 (12:40 -0700)
commit39407304f11b4ae1977acd9875b9b8540bff2874
tree3ad25d1929af307980ad0c081a776a06d8a2528b
parent8de096b6718048e84ee88e604a94b22937a0758e
git-instaweb: pass through invoking user's path to gitweb CGI scripts

When used with lighttpd or mongoose, git-instaweb previously passed a
hard-coded, default value of PATH to the gitweb CGI script. Use the invoking
user's value for PATH for this instead. (This is already implicitly the
behaviour for other web servers supported by git-instaweb.)

Signed-off-by: Chris Webb <chris@arachsys.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-instaweb.sh