summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-01-30 13:28:28 +0100
committerJunio C Hamano <gitster@pobox.com>2017-01-30 08:49:43 -0800
commit235be51fbecbbdaafd48f762e808c55861e02850 (patch)
tree18eaad290ad2197ff4ce0a9e60ed93f4b249f1e3 /diff.c
parentad36dc8b4b165bf9eb3576b42a241164e312d48c (diff)
downloadgit-235be51fbecbbdaafd48f762e808c55861e02850.tar.gz
mingw: allow hooks to be .exe filesjs/mingw-hooks-with-exe-suffix
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>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions