aboutsummaryrefslogtreecommitdiffstats
path: root/run-command.c
AgeCommit message (Expand)AuthorFilesLines
2014-03-18commit: fix patch hunk editing with "commit -p -m"Benoit Pierre1-12/+32
2013-10-31run-command: trivial style fixesFelipe Contreras1-8/+5
2013-07-22Merge branch 'tr/fd-gotcha-fixes'Junio C Hamano1-1/+4
2013-07-12run-command: dup_devnull(): guard against syscalls failingThomas Rast1-1/+4
2013-05-08mingw: rename WIN32 cpp macro to GIT_WINDOWS_NATIVEJonathan Nieder1-5/+5
2013-04-19Merge branch 'jk/a-thread-only-dies-once'Junio C Hamano1-0/+11
2013-04-16run-command: use thread-aware die_is_recursing routineJeff King1-0/+11
2013-03-21run-command: always set failed_errno in start_commandJeff King1-2/+3
2013-02-07Merge branch 'sb/run-command-fd-error-reporting'Junio C Hamano1-2/+6
2013-02-01run-command: be more informative about what failedStephen Boyd1-2/+6
2013-01-14hooks: Add function to check if a hook existsAaron Schrab1-2/+13
2013-01-06run-command: encode signal death as a positive integerJeff King1-1/+1
2013-01-05fix compilation with NO_PTHREADSJeff King1-1/+1
2012-12-02run-command: do not warn about child death from terminalJeff King1-1/+2
2012-12-02run-command: drop silent_exec_failure arg from wait_or_whineJeff King1-4/+3
2012-10-25Merge branch 'jk/no-more-pre-exec-callback'Jeff King1-10/+0
2012-09-20Merge branch 'dg/run-command-child-cleanup' into maintJunio C Hamano1-6/+7
2012-09-14Merge branch 'dg/run-command-child-cleanup'Junio C Hamano1-6/+7
2012-09-11Merge branch 'jc/maint-sane-execvp-notdir' into maint-1.7.11Junio C Hamano1-0/+2
2012-09-11run-command.c: fix broken list iteration in clear_child_for_cleanupDavid Gould1-6/+7
2012-09-03Merge branch 'jc/maint-sane-execvp-notdir'Junio C Hamano1-0/+2
2012-07-31sane_execvp(): ignore non-directory on $PATHJunio C Hamano1-0/+2
2012-06-05pager: drop "wait for output to run less" hackJeff King1-10/+0
2012-04-20Merge branch 'js/spawn-via-shell-path-fix'Junio C Hamano1-0/+4
2012-04-20Merge branch 'jk/run-command-eacces'Junio C Hamano1-2/+64
2012-04-17Do not use SHELL_PATH from build system in prepare_shell_cmd on WindowsJohannes Sixt1-0/+4
2012-04-05run-command: treat inaccessible directories as ENOENTJeff King1-2/+64
2012-04-03Use SHELL_PATH from build system in run_command.c:prepare_shell_cmdBen Walton1-1/+5
2012-01-08dashed externals: kill children on exitClemens Buchacher1-0/+1
2012-01-08run-command: optionally kill children on exitJeff King1-0/+68
2011-10-05Merge branch 'jk/argv-array'Junio C Hamano1-10/+8
2011-09-14run_hook: use argv_array APIJeff King1-10/+8
2011-08-01notice error exit from pagerClemens Buchacher1-9/+6
2011-07-31error_routine: use parent's stderr if exec failsClemens Buchacher1-8/+7
2011-04-20run-command: handle short writes and EINTR in die_childJonathan Nieder1-6/+9
2011-04-18Revert "run-command: prettify -D_FORTIFY_SOURCE workaround"Junio C Hamano1-11/+6
2011-03-17run-command: prettify -D_FORTIFY_SOURCE workaroundJonathan Nieder1-6/+11
2011-02-07start_command: flush buffers in the WIN32 code path as wellJohannes Sixt1-1/+1
2010-06-21Merge branch 'js/async-thread'Junio C Hamano1-18/+57
2010-05-20start_command: close cmd->err descriptor when fork/spawn failsbert Dvornik1-0/+2
2010-04-11Merge branch 'jl/maint-submodule-gitfile-awareness'Junio C Hamano1-3/+1
2010-04-11Windows: start_command: Support non-NULL dir in struct child_processJohannes Sixt1-3/+1
2010-03-10Enable threaded async procedures whenever pthreads is availableJohannes Sixt1-5/+5
2010-03-07Merge branch 'mw/maint-gcc-warns-unused-write'Junio C Hamano1-4/+6
2010-03-07Dying in an async procedure should only exit the thread, not the process.Johannes Sixt1-0/+34
2010-03-07Reimplement async procedures using pthreadsJohannes Sixt1-18/+23
2010-03-03run-command.c: fix build warnings on UbuntuMichael Wookey1-4/+6
2010-02-05Merge branch 'sp/maint-push-sideband' into sp/push-sidebandJunio C Hamano1-13/+77
2010-02-05run-command: support custom fd-set in asyncErik Faye-Lund1-13/+70
2010-02-05run-command: Allow stderr to be a caller supplied pipeShawn O. Pearce1-0/+8
2010-01-20Merge branch 'js/exec-error-report'Junio C Hamano1-46/+131
2010-01-18Merge branch 'js/windows'Junio C Hamano1-40/+31
2010-01-16Windows: avoid the "dup dance" when spawning a child processJohannes Sixt1-40/+31
2010-01-10start_command: detect execvp failures earlyJohannes Sixt1-1/+46
2010-01-10run-command: move wait_or_whine earlierJohannes Sixt1-42/+42
2010-01-10start_command: report child process setup errors to the parent's stderrJohannes Sixt1-3/+43
2010-01-05run-command: optimize out useless shell callsJeff King1-9/+11
2010-01-01run-command: add "use shell" optionJeff King1-0/+47
2009-09-18Test for WIN32 instead of __MINGW32_Frank Li1-4/+4
2009-09-18Fix __stdcall placement and function prototypeFrank Li1-1/+1
2009-09-18Avoid declaration after statementFrank Li1-0/+2
2009-09-11start_command: do not clobber cmd->env on Windows code pathJohannes Sixt1-5/+2
2009-08-10Merge branch 'js/run-command-updates'Junio C Hamano1-46/+59
2009-08-04run-command.c: squelch a "use before assignment" warningDavid Soria Parra1-1/+1
2009-07-06run_command: report failure to execute the program, but optionally don'tJohannes Sixt1-4/+8
2009-07-06run_command: encode deadly signal number in the return valueJohannes Sixt1-1/+8
2009-07-06run_command: report system call errors instead of returning error codesJohannes Sixt1-40/+49
2009-07-05run_command: return exit code as positive valueJohannes Sixt1-8/+1
2009-06-27Convert existing die(..., strerror(errno)) to die_errno()Thomas Rast1-2/+2
2009-05-01Fix a bunch of pointer declarations (codestyle)Felipe Contreras1-1/+1
2009-02-03Merge branch 'jk/maint-cleanup-after-exec-failure'Junio C Hamano1-4/+14
2009-01-28run_command(): handle missing command errors more gracefullyJeff King1-4/+14
2009-01-17run_hook(): allow more than 9 hook argumentsStephan Beyer1-9/+9
2009-01-17run_hook(): check the executability of the hook before filling argvStephan Beyer1-3/+3
2009-01-17Move run_hook() from builtin-commit.c into run-command.c (libgit)Stephan Beyer1-0/+45
2008-10-02run-command.c: remove run_command_v_opt_cd()Nanako Shiraishi1-8/+0
2008-08-19Merge branch 'jk/pager-swap'Junio C Hamano1-0/+2
2008-08-04Add output flushing before fork()Anders Melchiorsen1-0/+1
2008-08-03Flush output in start_asyncAnders Melchiorsen1-0/+3
2008-07-28run-command (Windows): Run dashless "git <cmd>"Steffen Prohaska1-7/+4
2008-07-25run-command: add pre-exec callbackJeff King1-0/+2
2008-07-07Merge branch 'qq/maint'Junio C Hamano1-0/+2
2008-07-07run_command(): respect GIT_TRACEJohannes Schindelin1-0/+2
2008-06-26Windows: Implement a custom spawnve().Johannes Sixt1-1/+1
2008-06-26Windows: Implement asynchronous functions as threads.Johannes Sixt1-1/+28
2008-06-23Windows: Implement start_command().Johannes Sixt1-14/+83
2008-03-05run-command: Redirect stderr to a pipe before redirecting stdout to stderrChristian Couder1-7/+7
2008-02-23start_command(), if .in/.out > 0, closes file descriptors, not the callersJohannes Sixt1-2/+20
2008-02-23start_command(), .in/.out/.err = -1: Callers must close the file descriptorJohannes Sixt1-6/+0
2007-11-11run-command: Support sending stderr to /dev/nullShawn O. Pearce1-2/+4
2007-10-21Add infrastructure to run a function asynchronously.Johannes Sixt1-8/+43
2007-10-21Have start_command() create a pipe to read the stderr of the child.Johannes Sixt1-2/+24
2007-05-23Allow environment variables to be unset in the processes started by run_commandAlex Riesen1-2/+6
2007-05-23Add ability to specify environment extension to run_commandAlex Riesen1-1/+15
2007-05-23Add run_command_v_opt_cd: chdir into a directory before execAlex Riesen1-5/+22
2007-03-12Teach run-command to redirect stdout to /dev/nullShawn O. Pearce1-8/+18
2007-03-12Teach run-command about stdout redirectionShawn O. Pearce1-1/+29
2007-03-12Simplify closing two fds at once in run-command.cShawn O. Pearce1-6/+9
2007-03-11Teach run_command how to setup a stdin pipeShawn O. Pearce1-1/+34
2007-03-11Split run_command into two halves (start/finish)Shawn O. Pearce1-7/+19
2007-03-11Start defining a more sophisticated run_commandShawn O. Pearce1-7/+18
2007-03-11Remove unused run_command variantsShawn O. Pearce1-45/+0
2006-12-30Use /dev/null for update hook stdin.Shawn O. Pearce1-3/+3
2006-12-30Redirect update hook stdout to stderr.Shawn O. Pearce1-6/+26
2006-12-30Remove unnecessary argc parameter from run_command_v.Shawn O. Pearce1-4/+4
2006-12-20simplify inclusion of system header files.Junio C Hamano1-1/+0
2006-08-15use appropriate typedefsDavid Rientjes1-4/+4
2006-03-05Const tightening.Junio C Hamano1-3/+3
2006-01-13Exec git programs without using PATH.Michal Ostrowski1-2/+7
2005-12-07Clean up file descriptors when calling hooks.Daniel Barkalow1-2/+13
2005-08-02receive-pack hooks updates.Junio C Hamano1-7/+5
2005-07-31[PATCH] Added hook in git-receive-packJosef Weidendorfer1-0/+60