Unify whitespace checking
[gitweb.git] / help.c
diff --git a/help.c b/help.c
index 56477f4506a94905c58dad09543bfbb68db61d91..c96b1670f33a97daef215ee691016a8bfa9555c9 100644 (file)
--- a/help.c
+++ b/help.c
@@ -286,7 +286,8 @@ static void show_man_page(const char *git_cmd)
 static void show_info_page(const char *git_cmd)
 {
        const char *page = cmd_to_page(git_cmd);
-       execlp("info", "info", page, NULL);
+       setenv("INFOPATH", GIT_INFO_PATH, 1);
+       execlp("info", "info", "gitman", page, NULL);
 }
 
 static void show_html_page(const char *git_cmd)