Code

gitweb: Use --git-dir parameter instead of setting $ENV{'GIT_DIR'}
authorDennis Stosberg <dennis@stosberg.net>
Mon, 28 Aug 2006 15:49:58 +0000 (17:49 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 28 Aug 2006 23:21:34 +0000 (16:21 -0700)
commit25691fbe6d02135d55dfc3a5180e29890dce1521
tree250ec5fb8f80850d29a0078da056fc8379c230df
parent3dfb9278dff6d81fcc062e9a56edab9ece38ea7d
gitweb: Use --git-dir parameter instead of setting $ENV{'GIT_DIR'}

This makes it possible to run gitweb under mod_perl's Apache::Registry.

It needs a fairly new git version, with --git-dir=<path>
parameter to git wrapper, i.e. post v1.4.2-rc2-g6acbcb9 version.

Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl