mingw: allow hooks to be .exe files
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 30 Jan 2017 12:28:28 +0000 (13:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jan 2017 16:49:43 +0000 (08:49 -0800)
Executable files in Windows need to have the extension '.exe', otherwise
they do not work. Extend the hooks to not just look at the hard coded
names, but also at the names extended by the custom STRIP_EXTENSION,
which is defined as '.exe' in Windows.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found