It is convenient for the user to be able to customize the path to perl if they
do not want to use the system perl.  This may be the case, for example, if the
user wants to use the plackup httpd but its extra dependencies are not
installed in the system perl; they can set the perl path to a perl that they
install and have control over in their own home directory.

Signed-off-by: Charles McGarvey <>
 Documentation/config.txt | 4 ++++          | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 6e53fc5..e103594 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1549,6 +1549,10 @@ instaweb.modulepath::
        instead of /usr/lib/apache2/modules.  Only used if httpd
        is Apache.
+       The path to the perl executable used by linkgit:git-instaweb[1] to
+       run gitweb and/or verify that the HTTP daemon is running.
        The port number to bind the gitweb httpd to. See
diff --git a/ b/
index 01a1b05..8cfbdf2 100755
--- a/
+++ b/
@@ -3,7 +3,6 @@
 # Copyright (c) 2006 Eric Wong
 git instaweb [options] (--start | --stop | --restart)
@@ -26,9 +25,12 @@ local="$(git config --bool --get instaweb.local)"
 httpd="$(git config --get instaweb.httpd)"
 root="$(git config --get instaweb.gitwebdir)"
 port=$(git config --get instaweb.port)
+perl_path="$(git config --get instaweb.perlpath)"
 module_path="$(git config --get instaweb.modulepath)"
 # Defaults:

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at

Reply via email to