]> git.ipfire.org Git - thirdparty/git.git/commit
Revert "display HTML in default browser using Windows' shell API"
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 19 Aug 2016 08:39:38 +0000 (10:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2016 20:47:28 +0000 (13:47 -0700)
commit6db5967d4e6640c5a3ee3cde151c5fdde5ab508f
tree4104e0be2ac634cb0c47472658184f1d5f0632dd
parent0b65a8dbdb38962e700ee16776a3042beb489060
Revert "display HTML in default browser using Windows' shell API"

Since 4804aab (help (Windows): Display HTML in default browser using
Windows' shell API, 2008-07-13), Git for Windows used to call
`ShellExecute()` to launch the default Windows handler for `.html`
files.

The idea was to avoid going through a shell script, for performance
reasons.

However, this change ignores the `help.browser` config setting. Together
with browsing help not being a performance-critical operation, let's
just revert that patch.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/help.c
compat/mingw.c
compat/mingw.h