summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2011-05-02 06:07:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-05-02 15:49:32 (GMT)
commit239b5ed9c9b7b7f219b05c8d71e29db7b970eb48 (patch)
treec21f6403b40366fd36205977ef2cb3a57088e727 /git.c
parentf2dd8c3799ddbd7df63a89a9043916f8545a70a3 (diff)
downloadgit-239b5ed9c9b7b7f219b05c8d71e29db7b970eb48.zip
git-239b5ed9c9b7b7f219b05c8d71e29db7b970eb48.tar.gz
git-239b5ed9c9b7b7f219b05c8d71e29db7b970eb48.tar.bz2
Documentation: clarify meaning of --html-path, --man-path, and --info-path
These options tell UI programs where git put its documentation, so "Help" actions can show the documentation for *this* version of git without regard to how MANPATH and INFOPATH are set up. Details: . Each variable tells where documentation is expected to be. They do not indicate whether documentation was actually installed. . The output of "git --html-path" is an absolute path and can be used in "file://$(git --html-path)/git-add.html" to name the HTML file documenting a particular command. . --man-path names a manual page hierarchy (e.g., /home/user/share/man). Its output can be passed to "man -M" or put at the beginning of $MANPATH. . --info-path names a directory with info files (e.g., /home/user/share/info). Its output is suitable as an argument to "info -d" or for inclusion in $INFOPATH. Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions