summaryrefslogtreecommitdiff
path: root/run-command.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'js/exec-error-report'Junio C Hamano2010-01-201-46/+131
|\
| * start_command: detect execvp failures earlyJohannes Sixt2010-01-101-1/+46
| * run-command: move wait_or_whine earlierJohannes Sixt2010-01-101-42/+42
| * start_command: report child process setup errors to the parent's stderrJohannes Sixt2010-01-101-3/+43
* | Merge branch 'js/windows'Junio C Hamano2010-01-181-40/+31
|\ \
| * | Windows: avoid the "dup dance" when spawning a child processJohannes Sixt2010-01-161-40/+31
| |/
* | run-command: optimize out useless shell callsJeff King2010-01-051-9/+11
* | run-command: add "use shell" optionJeff King2010-01-011-0/+47
|/
* Test for WIN32 instead of __MINGW32_Frank Li2009-09-181-4/+4
* Fix __stdcall placement and function prototypeFrank Li2009-09-181-1/+1
* Avoid declaration after statementFrank Li2009-09-181-0/+2
* start_command: do not clobber cmd->env on Windows code pathJohannes Sixt2009-09-111-5/+2
* Merge branch 'js/run-command-updates'Junio C Hamano2009-08-101-46/+59
|\
| * run-command.c: squelch a "use before assignment" warningDavid Soria Parra2009-08-041-1/+1
| * run_command: report failure to execute the program, but optionally don'tJohannes Sixt2009-07-061-4/+8
| * run_command: encode deadly signal number in the return valueJohannes Sixt2009-07-061-1/+8
| * run_command: report system call errors instead of returning error codesJohannes Sixt2009-07-061-40/+49
| * run_command: return exit code as positive valueJohannes Sixt2009-07-051-8/+1
* | Convert existing die(..., strerror(errno)) to die_errno()Thomas Rast2009-06-271-2/+2
|/
* Fix a bunch of pointer declarations (codestyle)Felipe Contreras2009-05-011-1/+1
* Merge branch 'jk/maint-cleanup-after-exec-failure'Junio C Hamano2009-02-031-4/+14
|\
| * run_command(): handle missing command errors more gracefullyJeff King2009-01-281-4/+14
* | run_hook(): allow more than 9 hook argumentsStephan Beyer2009-01-171-9/+9
* | run_hook(): check the executability of the hook before filling argvStephan Beyer2009-01-171-3/+3
* | Move run_hook() from builtin-commit.c into run-command.c (libgit)Stephan Beyer2009-01-171-0/+45
|/
* run-command.c: remove run_command_v_opt_cd()Nanako Shiraishi2008-10-021-8/+0
* Merge branch 'jk/pager-swap'Junio C Hamano2008-08-191-0/+2
|\
| * run-command: add pre-exec callbackJeff King2008-07-251-0/+2
* | Add output flushing before fork()Anders Melchiorsen2008-08-041-0/+1
* | Flush output in start_asyncAnders Melchiorsen2008-08-031-0/+3
* | run-command (Windows): Run dashless "git <cmd>"Steffen Prohaska2008-07-281-7/+4
|/
* Merge branch 'qq/maint'Junio C Hamano2008-07-071-0/+2
|\
| * run_command(): respect GIT_TRACEJohannes Schindelin2008-07-071-0/+2
* | Windows: Implement a custom spawnve().Johannes Sixt2008-06-261-1/+1
* | Windows: Implement asynchronous functions as threads.Johannes Sixt2008-06-261-1/+28
* | Windows: Implement start_command().Johannes Sixt2008-06-231-14/+83
|/
* run-command: Redirect stderr to a pipe before redirecting stdout to stderrChristian Couder2008-03-051-7/+7
* start_command(), if .in/.out > 0, closes file descriptors, not the callersJohannes Sixt2008-02-231-2/+20
* start_command(), .in/.out/.err = -1: Callers must close the file descriptorJohannes Sixt2008-02-231-6/+0
* run-command: Support sending stderr to /dev/nullShawn O. Pearce2007-11-111-2/+4
* Add infrastructure to run a function asynchronously.Johannes Sixt2007-10-211-8/+43
* Have start_command() create a pipe to read the stderr of the child.Johannes Sixt2007-10-211-2/+24
* Allow environment variables to be unset in the processes started by run_commandAlex Riesen2007-05-231-2/+6
* Add ability to specify environment extension to run_commandAlex Riesen2007-05-231-1/+15
* Add run_command_v_opt_cd: chdir into a directory before execAlex Riesen2007-05-231-5/+22
* Teach run-command to redirect stdout to /dev/nullShawn O. Pearce2007-03-121-8/+18
* Teach run-command about stdout redirectionShawn O. Pearce2007-03-121-1/+29
* Simplify closing two fds at once in run-command.cShawn O. Pearce2007-03-121-6/+9
* Teach run_command how to setup a stdin pipeShawn O. Pearce2007-03-111-1/+34
* Split run_command into two halves (start/finish)Shawn O. Pearce2007-03-111-7/+19