Let git-help prefer man-pages installed with this version of git
authorSergei Organov <osv@javad.com>
Thu, 6 Dec 2007 18:33:01 +0000 (21:33 +0300)
committerJunio C Hamano <gitster@pobox.com>
Sat, 8 Dec 2007 10:50:54 +0000 (02:50 -0800)
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>
No differences found