commit | f1a4dfb85a432ae338d162179eaac5d50154fbeb | [log] [tgz] |
---|---|---|
author | Johannes Sixt <johannes.sixt@telecom.at> | Tue Dec 04 12:38:32 2007 +0100 |
committer | Johannes Sixt <johannes.sixt@telecom.at> | Mon Jun 23 13:40:30 2008 +0200 |
tree | d354d2d9327d50623ed65c6782a51fc8f8a715d8 | |
parent | 6072fc314e87d53bec7266df5b6c3db2c2c82829 [diff] |
Windows: Wrap execve so that shell scripts can be invoked. When an external git command is invoked, it can be a Bourne shell script. This patch looks into the command file to see whether it is one. In this case, the command line is rearranged to invoke the shell with the proper arguments. With this change, scripted git commands work. Command line arguments to those scripts cannot be complex (contain spaces or double-quotes), yet. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>