summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLibravatar Markus Heidelberg <markus.heidelberg@web.de>2009-04-05 03:48:21 +0200
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2009-04-05 12:29:10 -0700
commit3eb5682b0b1c16c1b9232f04aff13bd189573b4d (patch)
treee9482edd0edf9f313fbf331563d1a09840e36cc6 /lib
parentMerge branch 'maint' (diff)
downloadtgif-3eb5682b0b1c16c1b9232f04aff13bd189573b4d.tar.xz
git-gui: use `git --html-path` to get the location of installed HTML docs
Previously a hardcoded path $GIT_EXEC_PATH/../Documentation/ was used to search for the documentation, when the user has asked for it via menu "Help -> Online Documentation". This didn't work for the default directory structure. To find the path reliably, use the new git command line option, which returns the correct path. If the output of `git --html-path` is empty because git is not found or the option is not yet supported in the installed git, the documentation from kernel.org is launched. There is no additional guessing of the right location of the installed docs. Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions