aboutsummaryrefslogtreecommitdiffstats
path: root/run-command.h
AgeCommit message (Expand)AuthorFilesLines
12 daysrun-command: introduce function to prepare auto-maintenance processPatrick Steinhardt1-0/+7
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-1/+1
2023-06-21run-command.h: move declarations for run-command.c from cache.hElijah Newren1-0/+2
2022-11-08Merge branch 'rs/no-more-run-command-v'Taylor Blau1-33/+1
2022-10-30replace and remove run_command_v_opt()René Scharfe1-22/+1
2022-10-30replace and remove run_command_v_opt_cd_env_tr2()René Scharfe1-9/+1
2022-10-30replace and remove run_command_v_opt_tr2()René Scharfe1-1/+0
2022-10-30replace and remove run_command_v_opt_cd_env()René Scharfe1-2/+1
2022-10-30run-command: fix return value commentRené Scharfe1-3/+2
2022-10-12run-command API: move *_tr2() users to "run_processes_parallel()"Ævar Arnfjörð Bjarmason1-3/+0
2022-10-12run-command API: have run_process_parallel() take an "opts" structÆvar Arnfjörð Bjarmason1-17/+55
2022-10-12run-command API: make "n" parameter a "size_t"Ævar Arnfjörð Bjarmason1-2/+2
2022-10-12run-command API: have "run_processes_parallel{,_tr2}()" return voidÆvar Arnfjörð Bjarmason1-8/+8
2022-06-13Merge branch 'ab/hooks-regression-fix'Junio C Hamano1-7/+23
2022-06-10Merge branch 'ab/env-array'Junio C Hamano1-7/+7
2022-06-07run-command: add an "ungroup" option to run_process_parallel()Ævar Arnfjörð Bjarmason1-7/+23
2022-06-02run-command API users: use "env" not "env_array" in comments & namesÆvar Arnfjörð Bjarmason1-5/+5
2022-06-02run-command API: rename "env_array" to "env"Ævar Arnfjörð Bjarmason1-2/+2
2022-04-01run-command.h: remove always unused "clean_on_exit_handler_cbdata"Ævar Arnfjörð Bjarmason1-1/+0
2022-01-07run-command: remove old run_hook_{le,ve}() hook APIEmily Shaffer1-16/+0
2022-01-07read-cache: convert post-index-change to use hook.hEmily Shaffer1-1/+0
2021-11-25run-command API: remove "env" member, always use "env_array"Ævar Arnfjörð Bjarmason1-17/+17
2021-11-25run-command API: remove "argv" member, always use "args"Ævar Arnfjörð Bjarmason1-12/+8
2021-10-13Merge branch 'jh/builtin-fsmonitor-part1'Junio C Hamano1-0/+57
2021-09-27hook.[ch]: move find_hook() from run-command.c to hook.cÆvar Arnfjörð Bjarmason1-7/+0
2021-09-23Merge branch 'mr/bisect-in-c-4'Junio C Hamano1-0/+12
2021-09-20run-command: create start_bg_commandJeff Hostetler1-0/+57
2021-09-13run-command: make `exists_in_PATH()` non-staticPranit Bauva1-0/+12
2021-09-09run-command: offer to close the object store before runningJohannes Schindelin1-0/+9
2021-09-09run-command: prettify the `RUN_COMMAND_*` flagsJohannes Schindelin1-7/+7
2021-07-16Merge branch 'jt/partial-clone-submodule-1'Junio C Hamano1-0/+10
2021-07-01*.h: move some *_INIT to designated initializersÆvar Arnfjörð Bjarmason1-1/+4
2021-06-28run-command: refactor subprocess env preparationJonathan Tan1-0/+10
2021-01-22run-command: document use_shell optionJeff King1-1/+8
2020-09-17maintenance: replace run_auto_gc()Derrick Stolee1-1/+1
2020-07-28strvec: convert remaining callers away from argv_array nameJeff King1-5/+5
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-07-15Merge branch 'ta/wait-on-aliased-commands-upon-signal' into masterJunio C Hamano1-0/+1
2020-07-07Wait for child on signal death for aliases to builtinsTrygve Aaberge1-0/+1
2020-05-07auto-gc: extract a reusable helper from "git fetch"Junio C Hamano1-0/+5
2020-02-22run-command.h: fix mis-indented struct memberJeff King1-1/+1
2019-11-18run-command: move doc to run-command.hHeba Waly1-7/+245
2019-05-05*.[ch]: remove extern from function declarations using sedDenton Liu1-1/+1
2019-05-05*.[ch]: remove extern from function declarations using spatchDenton Liu1-3/+3
2019-02-22trace2: create new combined trace facilityJeff Hostetler1-1/+12
2018-11-05send-pack.c: move async's #ifdef NO_PTHREADS back to run-command.cNguyễn Thái Ngọc Duy1-0/+1
2018-11-05run-command.h: include thread-utils.h instead of pthread.hNguyễn Thái Ngọc Duy1-3/+1
2017-04-25run-command: expose is_executable functionBrandon Williams1-0/+1
2017-01-09execv_dashed_external: wait for child on signal deathJeff King1-0/+1
2016-10-17run-command: add clean_on_exit_handlerLars Schneider1-0/+2
2016-10-17run-command: move check_pipe() from write_or_die to run_commandLars Schneider1-1/+1
2016-06-17run-command: add pipe_command helperJeff King1-7/+24
2016-04-29Merge branch 'jk/push-client-deadlock-fix'Junio C Hamano1-0/+1
2016-04-20run-command: teach async threads to ignore SIGPIPEJeff King1-0/+1
2016-04-06Merge branch 'sb/submodule-parallel-update'Junio C Hamano1-5/+5
2016-03-04Merge branch 'sb/submodule-parallel-fetch'Junio C Hamano1-6/+3
2016-03-01run_processes_parallel: rename parameters for the callbacksStefan Beller1-5/+5
2016-03-01run-command: do not pass child process data into callbacksStefan Beller1-6/+3
2016-02-26Merge branch 'jk/epipe-in-async'Junio C Hamano1-0/+1
2016-02-25write_or_die: handle EPIPE in async threadsJeff King1-0/+1
2015-12-16run-command: add an asynchronous parallel child processorStefan Beller1-0/+80
2015-11-03Merge branch 'rs/daemon-plug-child-leak'Junio C Hamano1-0/+1
2015-11-02run-command: factor out child_process_clear()René Scharfe1-0/+1
2015-10-07Merge branch 'ti/glibc-stdio-mutex-from-signal-handler'Junio C Hamano1-0/+1
2015-10-05Merge branch 'jk/async-pkt-line'Junio C Hamano1-0/+1
2015-09-04pager: don't use unsafe functions in signal handlersTakashi Iwai1-0/+1
2015-09-01run-command: provide in_async query functionJeff King1-0/+1
2015-08-10find_hook: keep our own static bufferJeff King1-0/+5
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-1/+1
2015-03-22run-command: introduce capture_command helperJeff King1-0/+13
2014-12-22Merge branch 'jc/hook-cleanup'Junio C Hamano1-4/+0
2014-12-01path.c: make get_pathname() call sites return const char *Nguyễn Thái Ngọc Duy1-1/+1
2014-12-01run-command.c: retire unused run_hook_with_custom_index()Junio C Hamano1-4/+0
2014-10-19run-command: add env_array, an optional argv_array for envRené Scharfe1-1/+2
2014-08-20run-command: introduce child_process_init()René Scharfe1-0/+1
2014-08-20run-command: introduce CHILD_PROCESS_INITRené Scharfe1-0/+2
2014-05-15run-command: store an optional argv_arrayJeff King1-0/+3
2014-03-18run-command: mark run_hook_with_custom_index as deprecatedBenoit Pierre1-0/+1
2014-03-18commit: fix patch hunk editing with "commit -p -m"Benoit Pierre1-1/+5
2013-07-19Add the LAST_ARG_MUST_BE_NULL macroRamsay Jones1-1/+1
2013-07-09use "sentinel" function attribute for variadic listsJeff King1-0/+1
2013-01-14hooks: Add function to check if a hook existsAaron Schrab1-0/+1
2012-06-05pager: drop "wait for output to run less" hackJeff King1-1/+0
2012-01-08dashed externals: kill children on exitClemens Buchacher1-0/+1
2012-01-08run-command: optionally kill children on exitJeff King1-0/+1
2010-03-10Enable threaded async procedures whenever pthreads is availableJohannes Sixt1-2/+2
2010-03-07Reimplement async procedures using pthreadsJohannes Sixt1-2/+6
2010-02-05Merge branch 'sp/maint-push-sideband' into sp/push-sidebandJunio C Hamano1-4/+7
2010-02-05run-command: support custom fd-set in asyncErik Faye-Lund1-3/+6
2010-02-05run-command: Allow stderr to be a caller supplied pipeShawn O. Pearce1-1/+1
2010-01-01run-command: add "use shell" optionJeff King1-0/+2
2009-09-18Test for WIN32 instead of __MINGW32_Frank Li1-1/+1
2009-07-06run_command: report failure to execute the program, but optionally don'tJohannes Sixt1-0/+2
2009-07-06run_command: report system call errors instead of returning error codesJohannes Sixt1-10/+0
2009-07-05run_command: return exit code as positive valueJohannes Sixt1-1/+0
2009-04-01fix portability problem with IS_RUN_COMMAND_ERRJeff King1-1/+1
2009-02-03Merge branch 'jk/maint-cleanup-after-exec-failure'Junio C Hamano1-0/+1
2009-01-28run_command(): help callers distinguish errorsJeff King1-0/+1
2009-01-17Move run_hook() from builtin-commit.c into run-command.c (libgit)Stephan Beyer1-0/+2
2008-10-02run-command.c: remove run_command_v_opt_cd()Nanako Shiraishi1-1/+0
2008-07-25run-command: add pre-exec callbackJeff King1-0/+1
2008-06-26Windows: Implement asynchronous functions as threads.Johannes Sixt1-0/+5
2008-02-23start_command(), if .in/.out > 0, closes file descriptors, not the callersJohannes Sixt1-0/+18
2008-02-23start_command(), .in/.out/.err = -1: Callers must close the file descriptorJohannes Sixt1-2/+0
2007-11-11run-command: Support sending stderr to /dev/nullShawn O. Pearce1-0/+1
2007-10-21Add infrastructure to run a function asynchronously.Johannes Sixt1-0/+22
2007-10-21Have start_command() create a pipe to read the stderr of the child.Johannes Sixt1-0/+1
2007-05-23Allow environment variables to be unset in the processes started by run_commandAlex Riesen1-0/+5
2007-05-23Add ability to specify environment extension to run_commandAlex Riesen1-0/+2
2007-05-23Add run_command_v_opt_cd: chdir into a directory before execAlex Riesen1-0/+2
2007-03-12Teach run-command to redirect stdout to /dev/nullShawn O. Pearce1-0/+1
2007-03-12Teach run-command about stdout redirectionShawn O. Pearce1-0/+2
2007-03-11Teach run_command how to setup a stdin pipeShawn O. Pearce1-0/+3
2007-03-11Split run_command into two halves (start/finish)Shawn O. Pearce1-0/+3
2007-03-11Start defining a more sophisticated run_commandShawn O. Pearce1-0/+9
2007-03-11Remove unused run_command variantsShawn O. Pearce1-4/+0
2006-12-30Use /dev/null for update hook stdin.Shawn O. Pearce1-1/+1
2006-12-30Redirect update hook stdout to stderr.Shawn O. Pearce1-0/+2
2006-12-30Remove unnecessary argc parameter from run_command_v.Shawn O. Pearce1-2/+2
2006-03-05Const tightening.Junio C Hamano1-2/+2
2006-01-13Exec git programs without using PATH.Michal Ostrowski1-1/+1
2005-12-07Clean up file descriptors when calling hooks.Daniel Barkalow1-0/+3
2005-08-02receive-pack hooks updates.Junio C Hamano1-0/+1
2005-07-31[PATCH] Added hook in git-receive-packJosef Weidendorfer1-0/+16