diff options
author | Johannes Sixt <johannes.sixt@telecom.at> | 2007-12-04 12:38:32 +0100 |
---|---|---|
committer | Johannes Sixt <johannes.sixt@telecom.at> | 2008-06-23 13:40:30 +0200 |
commit | f1a4dfb85a432ae338d162179eaac5d50154fbeb (patch) | |
tree | d354d2d9327d50623ed65c6782a51fc8f8a715d8 /compat/pread.c | |
parent | Windows: Implement setitimer() and sigaction(). (diff) | |
download | tgif-f1a4dfb85a432ae338d162179eaac5d50154fbeb.tar.xz |
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>
Diffstat (limited to 'compat/pread.c')
0 files changed, 0 insertions, 0 deletions