summaryrefslogtreecommitdiff
path: root/run-command.c
AgeCommit message (Expand)AuthorFilesLines
2010-01-18Merge branch 'js/windows'Libravatar Junio C Hamano1-40/+31
2010-01-16Windows: avoid the "dup dance" when spawning a child processLibravatar Johannes Sixt1-40/+31
2010-01-05run-command: optimize out useless shell callsLibravatar Jeff King1-9/+11
2010-01-01run-command: add "use shell" optionLibravatar Jeff King1-0/+47
2009-09-18Test for WIN32 instead of __MINGW32_Libravatar Frank Li1-4/+4
2009-09-18Fix __stdcall placement and function prototypeLibravatar Frank Li1-1/+1
2009-09-18Avoid declaration after statementLibravatar Frank Li1-0/+2
2009-09-11start_command: do not clobber cmd->env on Windows code pathLibravatar Johannes Sixt1-5/+2
2009-08-10Merge branch 'js/run-command-updates'Libravatar Junio C Hamano1-46/+59
2009-08-04run-command.c: squelch a "use before assignment" warningLibravatar David Soria Parra1-1/+1
2009-07-06run_command: report failure to execute the program, but optionally don'tLibravatar Johannes Sixt1-4/+8
2009-07-06run_command: encode deadly signal number in the return valueLibravatar Johannes Sixt1-1/+8
2009-07-06run_command: report system call errors instead of returning error codesLibravatar Johannes Sixt1-40/+49
2009-07-05run_command: return exit code as positive valueLibravatar Johannes Sixt1-8/+1
2009-06-27Convert existing die(..., strerror(errno)) to die_errno()Libravatar Thomas Rast1-2/+2
2009-05-01Fix a bunch of pointer declarations (codestyle)Libravatar Felipe Contreras1-1/+1
2009-02-03Merge branch 'jk/maint-cleanup-after-exec-failure'Libravatar Junio C Hamano1-4/+14
2009-01-28run_command(): handle missing command errors more gracefullyLibravatar Jeff King1-4/+14
2009-01-17run_hook(): allow more than 9 hook argumentsLibravatar Stephan Beyer1-9/+9
2009-01-17run_hook(): check the executability of the hook before filling argvLibravatar Stephan Beyer1-3/+3
2009-01-17Move run_hook() from builtin-commit.c into run-command.c (libgit)Libravatar Stephan Beyer1-0/+45
2008-10-02run-command.c: remove run_command_v_opt_cd()Libravatar Nanako Shiraishi1-8/+0
2008-08-19Merge branch 'jk/pager-swap'Libravatar Junio C Hamano1-0/+2
2008-08-04Add output flushing before fork()Libravatar Anders Melchiorsen1-0/+1
2008-08-03Flush output in start_asyncLibravatar Anders Melchiorsen1-0/+3
2008-07-28run-command (Windows): Run dashless "git <cmd>"Libravatar Steffen Prohaska1-7/+4
2008-07-25run-command: add pre-exec callbackLibravatar Jeff King1-0/+2
2008-07-07Merge branch 'qq/maint'Libravatar Junio C Hamano1-0/+2
2008-07-07run_command(): respect GIT_TRACELibravatar Johannes Schindelin1-0/+2
2008-06-26Windows: Implement a custom spawnve().Libravatar Johannes Sixt1-1/+1
2008-06-26Windows: Implement asynchronous functions as threads.Libravatar Johannes Sixt1-1/+28
2008-06-23Windows: Implement start_command().Libravatar Johannes Sixt1-14/+83
2008-03-05run-command: Redirect stderr to a pipe before redirecting stdout to stderrLibravatar Christian Couder1-7/+7
2008-02-23start_command(), if .in/.out > 0, closes file descriptors, not the callersLibravatar Johannes Sixt1-2/+20
2008-02-23start_command(), .in/.out/.err = -1: Callers must close the file descriptorLibravatar Johannes Sixt1-6/+0
2007-11-11run-command: Support sending stderr to /dev/nullLibravatar Shawn O. Pearce1-2/+4
2007-10-21Add infrastructure to run a function asynchronously.Libravatar Johannes Sixt1-8/+43
2007-10-21Have start_command() create a pipe to read the stderr of the child.Libravatar Johannes Sixt1-2/+24
2007-05-23Allow environment variables to be unset in the processes started by run_commandLibravatar Alex Riesen1-2/+6
2007-05-23Add ability to specify environment extension to run_commandLibravatar Alex Riesen1-1/+15
2007-05-23Add run_command_v_opt_cd: chdir into a directory before execLibravatar Alex Riesen1-5/+22
2007-03-12Teach run-command to redirect stdout to /dev/nullLibravatar Shawn O. Pearce1-8/+18
2007-03-12Teach run-command about stdout redirectionLibravatar Shawn O. Pearce1-1/+29
2007-03-12Simplify closing two fds at once in run-command.cLibravatar Shawn O. Pearce1-6/+9
2007-03-11Teach run_command how to setup a stdin pipeLibravatar Shawn O. Pearce1-1/+34
2007-03-11Split run_command into two halves (start/finish)Libravatar Shawn O. Pearce1-7/+19
2007-03-11Start defining a more sophisticated run_commandLibravatar Shawn O. Pearce1-7/+18
2007-03-11Remove unused run_command variantsLibravatar Shawn O. Pearce1-45/+0
2006-12-30Use /dev/null for update hook stdin.Libravatar Shawn O. Pearce1-3/+3
2006-12-30Redirect update hook stdout to stderr.Libravatar Shawn O. Pearce1-6/+26