author | Romain Francoise <romain@orebokech.com> | |
Fri, 29 Aug 2008 15:00:43 +0000 (17:00 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 30 Aug 2008 04:46:33 +0000 (21:46 -0700) | ||
commit | 5059a427804f9fefaf75dd1aa92cb620ce9219c7 | |
tree | b1719659fd78857880c0b2d4f1a4824c20b15084 | tree | snapshot |
parent | 445cac18c015809a7fcb4a570d3c6571b1ddaf7d | commit | diff |
builtin-help: fallback to GIT_MAN_VIEWER before man
In some situations it is useful to be able to switch viewers via the
environment, e.g. in Emacs shell buffers. So check the GIT_MAN_VIEWER
environment variable and try it before falling back to "man".
Signed-off-by: Romain Francoise <romain@orebokech.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In some situations it is useful to be able to switch viewers via the
environment, e.g. in Emacs shell buffers. So check the GIT_MAN_VIEWER
environment variable and try it before falling back to "man".
Signed-off-by: Romain Francoise <romain@orebokech.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-help.txt | diff | blob | history | |
builtin-help.c | diff | blob | history |