Files
git/help.c
Steffen Prohaska 57bab054a9 help (msysgit): teach git help to open html from /doc/git/html/
Html pages will be opened using the default Windows application
configured for html. This code path is taken for msysgit (mingw).

It is assumed that html pages are installed at /doc/git/html.
This needs to be ensured by the msysgit superproject to make this
patch useful. html pages should be cloned from git.git's main
repo. This is the easiest way to get up-to-date documentation,
without requiring the complete tool chain to generate them
locally.

If html pages are not yet there, you can use the following
commands to get them:

    mkdir -p /doc/git/html
    cd /doc/git/html/
    git init
    git config remote.origin.url git://git.kernel.org/pub/scm/git/git.git
    git config remote.origin.fetch refs/heads/html:refs/remotes/origin/html
    git fetch
    git checkout --track -b html origin/html

and update the html documentation with

    git pull

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
2007-08-12 16:08:57 -07:00

5.2 KiB