mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
After a program was determined to be a script (which implies that it did not have a file extension), then the interpreter is looked up. This change makes sure that we will only find .exe files when we are looking for an interpreter. Otherwise, we could find a directory 'perl' that is somewhere earlier in the path than 'perl.exe'. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>