aboutsummaryrefslogtreecommitdiff
path: root/pager.c
diff options
context:
space:
mode:
authorSergei Organov <osv@javad.com>2007-12-06 21:33:01 +0300
committerJunio C Hamano <gitster@pobox.com>2007-12-08 02:50:54 -0800
commit8e566f24b369836c43d720e4246a152b0e7724c6 (patch)
tree05a457911f11b3201ec5489ff486a970bbc85b3a /pager.c
parent9758ecde9a0be8b9758d0a512c90f8bfc865af4f (diff)
downloadgit-8e566f24b369836c43d720e4246a152b0e7724c6.tar.gz
git-8e566f24b369836c43d720e4246a152b0e7724c6.tar.xz
Let git-help prefer man-pages installed with this version of git
Prepend $(prefix)/share/man to the MANPATH environment variable before invoking 'man' from help.c:show_man_page(). There may be other git documentation in the user's MANPATH but the user is asking a specific instance of git about its own documentation, so we'd better show the documentation for _that_ instance of git. Signed-off-by: Sergei Organov <osv@javad.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pager.c')
0 files changed, 0 insertions, 0 deletions