Windows: Strip ".exe" from the program name.
commit23326d14edbd16469453f6c3ecdd98ab90e6efb7
authorJohannes Sixt <johannes.sixt@telecom.at>
Sat, 8 Dec 2007 19:57:25 +0000 (8 20:57 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Mon, 23 Jun 2008 11:34:55 +0000 (23 13:34 +0200)
tree0c2c562c5338e53dd9c05defe26016c3165b0a1c
parent8385abfda533819be9fbec436230ccd7be4bcda8
Windows: Strip ".exe" from the program name.

Before we can successfully parse a builtin command from the program name
we must strip off unneeded parts, that is, the file extension.

Furthermore, we must take Windows style path names into account when we
parse the program name.

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