Be more careful in splitting the program name from the path.
commit9c906c8e6c49b0bfa66580a35bcf013ee122970c
authorJohannes Sixt <johannes.sixt@telecom.at>
Thu, 22 Nov 2007 21:24:56 +0000 (22 22:24 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Fri, 23 Nov 2007 11:34:06 +0000 (23 12:34 +0100)
tree22c5a884a9c3a725a2f23e3bd4803d649d8f68f2
parentd0d5661addd02d3aca9e543457f962eacae704a2
Be more careful in splitting the program name from the path.

A git program can be invoked using with such a full path name:

C:\Src\mingw-git\t\trash/..\..\git-fetch-pack.exe

i.e. it can contain both types of path separators. We must pick the one
that comes last.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
git.c