git-gui/gitk: Do not use a Cygwin-specific kill flag on Windows
commit23b4c7ece9c0170c2c4afadf493221465fff85aa
authorSebastian Schuberth <sschuberth@gmail.com>
Fri, 29 Aug 2014 17:39:56 +0000 (29 19:39 +0200)
committerSebastian Schuberth <sschuberth@gmail.com>
Fri, 29 Aug 2014 19:17:25 +0000 (29 21:17 +0200)
tree0fe307894ba4c5df8a5e7161063629a7dbc259d1
parentbe148fa8c099009fce062cc1c344aa880ca4c7fa
git-gui/gitk: Do not use a Cygwin-specific kill flag on Windows

Windows does not necessarily mean Cygwin, it could also be MSYS. The
latter ships with a version of "kill" that does not understand "-f". In
msysgit this was addressed shipping Cygwin's version of kill.

Properly fix this by using the stock Windows "taskkill" command instead,
which is available since Windows XP Professional.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
git-gui/git-gui.sh
gitk-git/gitk