summaryrefslogtreecommitdiffstats
path: root/run-command.c
AgeCommit message (Expand)AuthorLines
2010-01-20Merge branch 'js/exec-error-report'Junio C Hamano-46/+131
2010-01-18Merge branch 'js/windows'Junio C Hamano-40/+31
2010-01-16Windows: avoid the "dup dance" when spawning a child processJohannes Sixt-40/+31
2010-01-10start_command: detect execvp failures earlyJohannes Sixt-1/+46
2010-01-10run-command: move wait_or_whine earlierJohannes Sixt-42/+42
2010-01-10start_command: report child process setup errors to the parent's stderrJohannes Sixt-3/+43
2010-01-05run-command: optimize out useless shell callsJeff King-9/+11
2010-01-01run-command: add "use shell" optionJeff King-0/+47
2009-09-18Test for WIN32 instead of __MINGW32_Frank Li-4/+4
2009-09-18Fix __stdcall placement and function prototypeFrank Li-1/+1
2009-09-18Avoid declaration after statementFrank Li-0/+2
2009-09-11start_command: do not clobber cmd->env on Windows code pathJohannes Sixt-5/+2
2009-08-10Merge branch 'js/run-command-updates'Junio C Hamano-46/+59
2009-08-04run-command.c: squelch a "use before assignment" warningDavid Soria Parra-1/+1
2009-07-06run_command: report failure to execute the program, but optionally don'tJohannes Sixt-4/+8
2009-07-06run_command: encode deadly signal number in the return valueJohannes Sixt-1/+8
2009-07-06run_command: report system call errors instead of returning error codesJohannes Sixt-40/+49
2009-07-05run_command: return exit code as positive valueJohannes Sixt-8/+1
2009-06-27Convert existing die(..., strerror(errno)) to die_errno()Thomas Rast-2/+2
2009-05-01Fix a bunch of pointer declarations (codestyle)Felipe Contreras-1/+1
2009-02-03Merge branch 'jk/maint-cleanup-after-exec-failure'Junio C Hamano-4/+14
2009-01-28run_command(): handle missing command errors more gracefullyJeff King-4/+14
2009-01-17run_hook(): allow more than 9 hook argumentsStephan Beyer-9/+9
2009-01-17run_hook(): check the executability of the hook before filling argvStephan Beyer-3/+3
2009-01-17Move run_hook() from builtin-commit.c into run-command.c (libgit)Stephan Beyer-0/+45
2008-10-02run-command.c: remove run_command_v_opt_cd()Nanako Shiraishi-8/+0
2008-08-19Merge branch 'jk/pager-swap'Junio C Hamano-0/+2
2008-08-04Add output flushing before fork()Anders Melchiorsen-0/+1
2008-08-03Flush output in start_asyncAnders Melchiorsen-0/+3
2008-07-28run-command (Windows): Run dashless "git <cmd>"Steffen Prohaska-7/+4
2008-07-25run-command: add pre-exec callbackJeff King-0/+2
2008-07-07Merge branch 'qq/maint'Junio C Hamano-0/+2
2008-07-07run_command(): respect GIT_TRACEJohannes Schindelin-0/+2
2008-06-26Windows: Implement a custom spawnve().Johannes Sixt-1/+1
2008-06-26Windows: Implement asynchronous functions as threads.Johannes Sixt-1/+28
2008-06-23Windows: Implement start_command().Johannes Sixt-14/+83
2008-03-05run-command: Redirect stderr to a pipe before redirecting stdout to stderrChristian Couder-7/+7
2008-02-23start_command(), if .in/.out > 0, closes file descriptors, not the callersJohannes Sixt-2/+20
2008-02-23start_command(), .in/.out/.err = -1: Callers must close the file descriptorJohannes Sixt-6/+0
2007-11-11run-command: Support sending stderr to /dev/nullShawn O. Pearce-2/+4
2007-10-21Add infrastructure to run a function asynchronously.Johannes Sixt-8/+43
2007-10-21Have start_command() create a pipe to read the stderr of the child.Johannes Sixt-2/+24
2007-05-23Allow environment variables to be unset in the processes started by run_commandAlex Riesen-2/+6
2007-05-23Add ability to specify environment extension to run_commandAlex Riesen-1/+15
2007-05-23Add run_command_v_opt_cd: chdir into a directory before execAlex Riesen-5/+22
2007-03-12Teach run-command to redirect stdout to /dev/nullShawn O. Pearce-8/+18
2007-03-12Teach run-command about stdout redirectionShawn O. Pearce-1/+29
2007-03-12Simplify closing two fds at once in run-command.cShawn O. Pearce-6/+9
2007-03-11Teach run_command how to setup a stdin pipeShawn O. Pearce-1/+34
2007-03-11Split run_command into two halves (start/finish)Shawn O. Pearce-7/+19