aboutsummaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-12-10 01:35:29 -0800
committerJunio C Hamano <gitster@pobox.com>2007-12-10 01:36:31 -0800
commita149a1a44af45352b63e2dadd790616966c220be (patch)
tree43cd050895442e26fcb074131491ce3cecbc9586 /help.c
parent78d39f98f3135bc9f7cbef897aeb4a279ca4130e (diff)
downloadgit-a149a1a44af45352b63e2dadd790616966c220be.tar.gz
git-a149a1a44af45352b63e2dadd790616966c220be.tar.xz
git-help -i: show info documentation from matching version of git
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.c')
-rw-r--r--help.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/help.c b/help.c
index 9d7ad6f31..c96b1670f 100644
--- a/help.c
+++ b/help.c
@@ -286,6 +286,7 @@ 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);
+ setenv("INFOPATH", GIT_INFO_PATH, 1);
execlp("info", "info", "gitman", page, NULL);
}