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>
This commit is contained in:
Johannes Schindelin
2016-08-19 10:39:38 +02:00
committed by Junio C Hamano
parent 0b65a8dbdb
commit 6db5967d4e
3 changed files with 0 additions and 52 deletions

View File

@ -414,9 +414,6 @@ int mingw_offset_1st_component(const char *path);
#include <inttypes.h>
#endif
void mingw_open_html(const char *path);
#define open_html mingw_open_html
/**
* Converts UTF-8 encoded string to UTF-16LE.
*