Move script detection into a helper function that returns the interpreter.
commit09653a29cf4e6c010997c5a7da7945573da34612
authorJohannes Sixt <johannes.sixt@telecom.at>
Thu, 11 Jan 2007 12:45:41 +0000 (11 13:45 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Fri, 19 Jan 2007 15:32:23 +0000 (19 16:32 +0100)
treecda7a49e5f2c810b41437ef3f7274719bfe4ad62
parent4ba0bd54b35f6ac637ec1274911dde1629aa04a1
Move script detection into a helper function that returns the interpreter.

This will be needed later in the spawn helper functions, too,
where we want to start a shell or perl script from an exe.
compat/mingw.c
git-compat-util.h
spawn-pipe.c