Age | Commit message (Expand) | Author | Files | Lines |
2024-04-17 | run-command: introduce function to prepare auto-maintenance process | Patrick Steinhardt | 1 | -6/+13 |
2023-12-26 | treewide: remove unnecessary includes in source files | Elijah Newren | 1 | -2/+0 |
2023-08-09 | Merge branch 'ma/locate-in-path-for-windows' | Junio C Hamano | 1 | -0/+2 |
2023-08-03 | run-command: conditionally define locate_in_PATH() | Matthias Aßhauer | 1 | -0/+2 |
2023-06-29 | Merge branch 'en/header-split-cache-h-part-3' | Junio C Hamano | 1 | -1/+1 |
2023-06-23 | Merge branch 'rs/run-command-exec-error-on-noent' | Junio C Hamano | 1 | -11/+3 |
2023-06-21 | run-command.h: move declarations for run-command.c from cache.h | Elijah Newren | 1 | -1/+1 |
2023-06-12 | run-command: report exec error even on ENOENT | René Scharfe | 1 | -11/+3 |
2023-05-19 | Merge branch 'tb/run-command-needs-alloc-h' | Junio C Hamano | 1 | -0/+1 |
2023-05-16 | run-command.c: fix missing include under `NO_PTHREADS` | Taylor Blau | 1 | -0/+1 |
2023-04-24 | symlinks.h: move declarations for symlinks.c functions from cache.h | Elijah Newren | 1 | -0/+1 |
2023-04-11 | treewide: be explicit about dependence on trace.h & trace2.h | Elijah Newren | 1 | -0/+2 |
2023-03-21 | environment.h: move declarations for environment.c functions from cache.h | Elijah Newren | 1 | -0/+1 |
2023-03-21 | treewide: be explicit about dependence on gettext.h | Elijah Newren | 1 | -0/+1 |
2023-02-24 | run-command: mark error routine parameters as unused | Jeff King | 1 | -3/+3 |
2023-02-08 | run-command: allow stdin for run_processes_parallel | Emily Shaffer | 1 | -1/+8 |
2023-02-08 | run-command.c: remove dead assignment in while-loop | Ævar Arnfjörð Bjarmason | 1 | -3/+1 |
2023-01-08 | *: fix typos which duplicate a word | Andrei Rybak | 1 | -1/+1 |
2022-12-19 | Merge branch 'sx/pthread-error-check-fix' | Junio C Hamano | 1 | -1/+1 |
2022-12-05 | maintenance: compare output of pthread functions for inequality with 0 | Seija | 1 | -1/+1 |
2022-11-08 | Merge branch 'rs/no-more-run-command-v' | Taylor Blau | 1 | -35/+0 |
2022-10-30 | replace and remove run_command_v_opt() | René Scharfe | 1 | -15/+0 |
2022-10-30 | replace and remove run_command_v_opt_cd_env_tr2() | René Scharfe | 1 | -10/+0 |
2022-10-30 | replace and remove run_command_v_opt_tr2() | René Scharfe | 1 | -5/+0 |
2022-10-30 | replace and remove run_command_v_opt_cd_env() | René Scharfe | 1 | -6/+1 |
2022-10-12 | run-command.c: remove "max_processes", add "const" to signal() handler | Ævar Arnfjörð Bjarmason | 1 | -11/+26 |
2022-10-12 | run-command.c: pass "opts" further down, and use "opts->processes" | Ævar Arnfjörð Bjarmason | 1 | -8/+11 |
2022-10-12 | run-command.c: use "opts->processes", not "pp->max_processes" | Ævar Arnfjörð Bjarmason | 1 | -7/+9 |
2022-10-12 | run-command.c: don't copy "data" to "struct parallel_processes" | Ævar Arnfjörð Bjarmason | 1 | -6/+3 |
2022-10-12 | run-command.c: don't copy "ungroup" to "struct parallel_processes" | Ævar Arnfjörð Bjarmason | 1 | -10/+8 |
2022-10-12 | run-command.c: don't copy *_fn to "struct parallel_processes" | Ævar Arnfjörð Bjarmason | 1 | -42/+25 |
2022-10-12 | run-command.c: make "struct parallel_processes" const if possible | Ævar Arnfjörð Bjarmason | 1 | -2/+2 |
2022-10-12 | run-command API: move *_tr2() users to "run_processes_parallel()" | Ævar Arnfjörð Bjarmason | 1 | -18/+0 |
2022-10-12 | run-command API: have run_process_parallel() take an "opts" struct | Ævar Arnfjörð Bjarmason | 1 | -23/+31 |
2022-10-12 | run-command.c: use designated init for pp_init(), add "const" | Ævar Arnfjörð Bjarmason | 1 | -20/+14 |
2022-10-12 | run-command API: don't fall back on online_cpus() | Ævar Arnfjörð Bjarmason | 1 | -4/+3 |
2022-10-12 | run-command API: make "n" parameter a "size_t" | Ævar Arnfjörð Bjarmason | 1 | -24/+18 |
2022-10-12 | run-command API: have "run_processes_parallel{,_tr2}()" return void | Ævar Arnfjörð Bjarmason | 1 | -16/+11 |
2022-08-17 | pipe_command(): mark stdin descriptor as non-blocking | Jeff King | 1 | -0/+10 |
2022-08-17 | pipe_command(): handle ENOSPC when writing to a pipe | Jeff King | 1 | -1/+2 |
2022-08-17 | pipe_command(): avoid xwrite() for writing to pipe | Jeff King | 1 | -5/+17 |
2022-06-13 | Merge branch 'js/wait-or-whine-can-fail' | Junio C Hamano | 1 | -1/+2 |
2022-06-13 | Merge branch 'ab/hooks-regression-fix' | Junio C Hamano | 1 | -19/+51 |
2022-06-07 | run-command: don't spam trace2_child_exit() | Josh Steadmon | 1 | -1/+2 |
2022-06-07 | run-command: add an "ungroup" option to run_process_parallel() | Ævar Arnfjörð Bjarmason | 1 | -19/+51 |
2022-06-02 | run-command API users: use "env" not "env_array" in comments & names | Ævar Arnfjörð Bjarmason | 1 | -3/+3 |
2022-06-02 | run-command API: rename "env_array" to "env" | Ævar Arnfjörð Bjarmason | 1 | -6/+7 |
2022-02-09 | Merge branch 'ab/config-based-hooks-2' | Junio C Hamano | 1 | -33/+0 |
2022-01-10 | Merge branch 'ab/usage-die-message' | Junio C Hamano | 1 | -11/+5 |
2022-01-07 | run-command: remove old run_hook_{le,ve}() hook API | Emily Shaffer | 1 | -33/+0 |
2022-01-07 | read-cache: convert post-index-change to use hook.h | Emily Shaffer | 1 | -1/+1 |
2021-12-15 | Merge branch 'ab/run-command' | Junio C Hamano | 1 | -35/+27 |
2021-12-10 | Merge branch 'jk/t7006-sigpipe-tests-fix' | Junio C Hamano | 1 | -10/+9 |
2021-12-07 | usage.c API users: use die_message() for "fatal :" + exit 128 | Ævar Arnfjörð Bjarmason | 1 | -11/+5 |
2021-11-25 | run-command API: remove "env" member, always use "env_array" | Ævar Arnfjörð Bjarmason | 1 | -13/+7 |
2021-11-25 | run-command API: remove "argv" member, always use "args" | Ævar Arnfjörð Bjarmason | 1 | -22/+20 |
2021-11-25 | run-command API users: use strvec_pushv(), not argv assignment | Ævar Arnfjörð Bjarmason | 1 | -1/+1 |
2021-11-22 | run-command: unify signal and regular logic for wait_or_whine() | Jeff King | 1 | -10/+9 |
2021-11-04 | Merge branch 'vd/pthread-setspecific-g11-fix' | Junio C Hamano | 1 | -1/+1 |
2021-11-03 | async_die_is_recursing: work around GCC v11.x issue on Fedora | Victoria Dye | 1 | -1/+1 |
2021-10-13 | Merge branch 'jh/builtin-fsmonitor-part1' | Junio C Hamano | 1 | -0/+129 |
2021-09-27 | hook.[ch]: move find_hook() from run-command.c to hook.c | Ævar Arnfjörð Bjarmason | 1 | -34/+1 |
2021-09-23 | Merge branch 'mr/bisect-in-c-4' | Junio C Hamano | 1 | -2/+2 |
2021-09-20 | Merge branch 'js/run-command-close-packs' | Junio C Hamano | 1 | -0/+6 |
2021-09-20 | run-command: create start_bg_command | Jeff Hostetler | 1 | -0/+129 |
2021-09-13 | run-command: make `exists_in_PATH()` non-static | Pranit Bauva | 1 | -2/+2 |
2021-09-10 | Merge branch 'ab/retire-advice-config' | Junio C Hamano | 1 | -1/+1 |
2021-09-09 | run_auto_maintenance(): implicitly close the object store | Johannes Schindelin | 1 | -0/+1 |
2021-09-09 | run-command: offer to close the object store before running | Johannes Schindelin | 1 | -0/+5 |
2021-08-25 | use xopen() to handle fatal open(2) failures | René Scharfe | 1 | -3/+1 |
2021-08-25 | advice: remove read uses of most global `advice_` variables | Ben Boeckel | 1 | -1/+1 |
2021-07-16 | Merge branch 'jt/partial-clone-submodule-1' | Junio C Hamano | 1 | -0/+12 |
2021-07-01 | *.c *_init(): define in terms of corresponding *_INIT macro | Ævar Arnfjörð Bjarmason | 1 | -3/+2 |
2021-06-28 | run-command: refactor subprocess env preparation | Jonathan Tan | 1 | -0/+12 |
2021-03-13 | use CALLOC_ARRAY | René Scharfe | 1 | -2/+2 |
2021-03-08 | Sync with Git 2.30.2 for CVE-2021-21300 | Junio C Hamano | 1 | -1/+8 |
2021-02-12 | Sync with 2.29.3 | Johannes Schindelin | 1 | -1/+8 |
2021-02-12 | Sync with 2.28.1 | Johannes Schindelin | 1 | -1/+8 |
2021-02-12 | Sync with 2.27.1 | Johannes Schindelin | 1 | -1/+8 |
2021-02-12 | Sync with 2.26.3 | Johannes Schindelin | 1 | -1/+8 |
2021-02-12 | Sync with 2.24.4 | Johannes Schindelin | 1 | -1/+8 |
2021-02-12 | Sync with 2.21.4 | Johannes Schindelin | 1 | -1/+8 |
2021-02-12 | Sync with 2.19.6 | Johannes Schindelin | 1 | -1/+8 |
2021-02-12 | Sync with 2.18.5 | Johannes Schindelin | 1 | -1/+8 |
2021-02-12 | Sync with 2.17.6 | Johannes Schindelin | 1 | -1/+8 |
2021-02-12 | run-command: invalidate lstat cache after a command finished | Johannes Schindelin | 1 | -1/+8 |
2021-02-01 | pager: properly log pager exit code when signalled | Ævar Arnfjörð Bjarmason | 1 | -1/+3 |
2021-02-01 | run-command: add braces for "if" block in wait_or_whine() | Ævar Arnfjörð Bjarmason | 1 | -1/+2 |
2020-09-25 | maintenance: optionally skip --auto process | Derrick Stolee | 1 | -0/+6 |
2020-09-17 | maintenance: replace run_auto_gc() | Derrick Stolee | 1 | -9/+7 |
2020-07-30 | strvec: rename struct fields | Jeff King | 1 | -10/+10 |
2020-07-28 | strvec: convert remaining callers away from argv_array name | Jeff King | 1 | -25/+25 |
2020-07-28 | strvec: rename files from argv-array to strvec | Jeff King | 1 | -1/+1 |
2020-07-15 | Merge branch 'ta/wait-on-aliased-commands-upon-signal' into master | Junio C Hamano | 1 | -0/+1 |
2020-07-07 | Wait for child on signal death for aliases to builtins | Trygve Aaberge | 1 | -0/+1 |
2020-05-13 | Merge branch 'jc/auto-gc-quiet' | Junio C Hamano | 1 | -0/+13 |
2020-05-07 | auto-gc: extract a reusable helper from "git fetch" | Junio C Hamano | 1 | -0/+13 |
2020-03-27 | run-command: trigger PATH lookup properly on Cygwin | Andras Kucsma | 1 | -5/+5 |
2020-02-14 | Merge branch 'bc/run-command-nullness-after-free-fix' into maint | Junio C Hamano | 1 | -1/+2 |
2020-01-22 | Merge branch 'bc/run-command-nullness-after-free-fix' | Junio C Hamano | 1 | -1/+2 |
2020-01-07 | run-command: avoid undefined behavior in exists_in_PATH | brian m. carlson | 1 | -1/+2 |
2019-11-27 | run-command: use prepare_git_cmd() in prepare_cmd() | René Scharfe | 1 | -2/+1 |
2019-02-22 | trace2: create new combined trace facility | Jeff Hostetler | 1 | -1/+58 |
2018-12-15 | Merge branch 'jc/run-command-report-exec-failure-fix' into maint | Junio C Hamano | 1 | -0/+2 |
2018-12-12 | run-command: report exec failure | Junio C Hamano | 1 | -0/+2 |
2018-11-18 | Merge branch 'nd/pthreads' | Junio C Hamano | 1 | -1/+10 |
2018-11-05 | Clean up pthread_create() error handling | Nguyễn Thái Ngọc Duy | 1 | -1/+1 |
2018-11-05 | send-pack.c: move async's #ifdef NO_PTHREADS back to run-command.c | Nguyễn Thái Ngọc Duy | 1 | -0/+9 |
2018-10-25 | t0061: adjust to test-tool transition | Junio C Hamano | 1 | -4/+17 |
2018-10-25 | run-command: mark path lookup errors with ENOENT | Jeff King | 1 | -4/+17 |
2018-05-06 | Replace all die("BUG: ...") calls by BUG() ones | Johannes Schindelin | 1 | -5/+5 |
2018-05-06 | run-command: use BUG() to report bugs, not die() | Johannes Schindelin | 1 | -13/+10 |
2018-04-11 | exec_cmd: rename to use dash in file name | Stefan Beller | 1 | -1/+1 |
2018-03-25 | run-command: use strbuf_addstr() for adding a string to a strbuf | René Scharfe | 1 | -1/+1 |
2018-01-19 | run-command.c: print new cwd in trace_run_command() | Nguyễn Thái Ngọc Duy | 1 | -0/+5 |
2018-01-19 | run-command.c: print env vars in trace_run_command() | Nguyễn Thái Ngọc Duy | 1 | -0/+63 |
2018-01-19 | run-command.c: print program 'git' when tracing git_cmd mode | Nguyễn Thái Ngọc Duy | 1 | -0/+2 |
2018-01-19 | run-command.c: introduce trace_run_command() | Nguyễn Thái Ngọc Duy | 1 | -1/+17 |
2017-10-10 | run-command: add hint when a hook is ignored | Damien Marié | 1 | -0/+18 |
2017-10-03 | run-command: use ALLOC_ARRAY | René Scharfe | 1 | -1/+1 |
2017-08-23 | Merge branch 'js/run-process-parallel-api-fix' into maint | Junio C Hamano | 1 | -2/+2 |
2017-07-21 | run_processes_parallel: change confusing task_cb convention | Johannes Schindelin | 1 | -2/+2 |
2017-04-25 | run-command: restrict PATH search to executable files | Brandon Williams | 1 | -1/+18 |
2017-04-25 | run-command: expose is_executable function | Brandon Williams | 1 | -0/+42 |
2017-04-20 | run-command: block signals between fork and execve | Eric Wong | 1 | -0/+68 |
2017-04-20 | run-command: add note about forking and threading | Brandon Williams | 1 | -0/+9 |
2017-04-20 | run-command: handle dup2 and close errors in child | Brandon Williams | 1 | -16/+42 |
2017-04-20 | run-command: eliminate calls to error handling functions in child | Brandon Williams | 1 | -32/+89 |
2017-04-20 | run-command: don't die in child when duping /dev/null | Brandon Williams | 1 | -15/+13 |
2017-04-20 | run-command: prepare child environment before forking | Brandon Williams | 1 | -10/+56 |
2017-04-20 | run-command: use the async-signal-safe execv instead of execvp | Brandon Williams | 1 | -1/+29 |
2017-04-20 | run-command: prepare command before forking | Brandon Williams | 1 | -20/+26 |
2017-03-24 | Merge branch 'jk/execv-dashed-external' | Junio C Hamano | 1 | -1/+1 |
2017-03-18 | run-command: fix segfault when cleaning forked async process | Jeff King | 1 | -1/+1 |
2017-02-02 | Merge branch 'js/mingw-hooks-with-exe-suffix' | Junio C Hamano | 1 | -1/+7 |
2017-01-30 | mingw: allow hooks to be .exe files | Johannes Schindelin | 1 | -1/+7 |
2017-01-09 | execv_dashed_external: wait for child on signal death | Jeff King | 1 | -0/+19 |
2016-10-17 | run-command: add clean_on_exit_handler | Lars Schneider | 1 | -4/+18 |
2016-10-17 | run-command: move check_pipe() from write_or_die to run_command | Lars Schneider | 1 | -2/+15 |
2016-08-19 | Merge branch 'ab/hooks' | Junio C Hamano | 1 | -4/+1 |
2016-08-16 | rev-parse: respect core.hooksPath in --git-path | Johannes Schindelin | 1 | -4/+1 |
2016-06-17 | run-command: add pipe_command helper | Jeff King | 1 | -5/+147 |
2016-05-17 | Merge branch 'nd/error-errno' | Junio C Hamano | 1 | -8/+7 |
2016-05-17 | Merge branch 'ab/hooks' | Junio C Hamano | 1 | -1/+4 |
2016-05-09 | run-command.c: use error_errno() | Nguyễn Thái Ngọc Duy | 1 | -8/+7 |
2016-05-04 | hooks: allow customizing where the hook directory is | Ævar Arnfjörð Bjarmason | 1 | -1/+4 |
2016-04-29 | Merge branch 'jk/push-client-deadlock-fix' | Junio C Hamano | 1 | -0/+10 |
2016-04-20 | run-command: teach async threads to ignore SIGPIPE | Jeff King | 1 | -0/+10 |
2016-04-06 | Merge branch 'sb/submodule-parallel-update' | Junio C Hamano | 1 | -6/+6 |
2016-03-10 | Merge branch 'jk/tighten-alloc' into maint | Junio C Hamano | 1 | -35/+25 |
2016-03-04 | Merge branch 'sb/submodule-parallel-fetch' | Junio C Hamano | 1 | -21/+3 |
2016-03-01 | run_processes_parallel: rename parameters for the callbacks | Stefan Beller | 1 | -2/+2 |
2016-03-01 | run_processes_parallel: treat output of children as byte array | Stefan Beller | 1 | -4/+4 |
2016-03-01 | run-command: do not pass child process data into callbacks | Stefan Beller | 1 | -21/+3 |
2016-02-26 | Merge branch 'jk/epipe-in-async' | Junio C Hamano | 1 | -0/+10 |
2016-02-26 | Merge branch 'jk/tighten-alloc' | Junio C Hamano | 1 | -35/+25 |
2016-02-25 | write_or_die: handle EPIPE in async threads | Jeff King | 1 | -0/+10 |
2016-02-22 | prepare_{git,shell}_cmd: use argv_array | Jeff King | 1 | -35/+25 |
2016-01-20 | Merge branch 'nd/clear-gitenv-upon-use-of-alias' | Junio C Hamano | 1 | -1/+1 |
2015-12-29 | run-command: don't warn on SIGPIPE deaths | Jeff King | 1 | -1/+1 |
2015-12-16 | run-command: add an asynchronous parallel child processor | Stefan Beller | 1 | -0/+335 |
2015-11-03 | Merge branch 'rs/daemon-plug-child-leak' | Junio C Hamano | 1 | -6/+9 |
2015-11-02 | run-command: factor out child_process_clear() | René Scharfe | 1 | -6/+9 |
2015-10-07 | Merge branch 'ti/glibc-stdio-mutex-from-signal-handler' | Junio C Hamano | 1 | -8/+17 |
2015-10-05 | Merge branch 'jk/async-pkt-line' | Junio C Hamano | 1 | -1/+15 |
2015-09-04 | pager: don't use unsafe functions in signal handlers | Takashi Iwai | 1 | -8/+17 |
2015-09-01 | run-command: provide in_async query function | Jeff King | 1 | -1/+15 |
2015-08-25 | Merge branch 'jk/long-error-messages' | Junio C Hamano | 1 | -15/+2 |
2015-08-11 | vreportf: report to arbitrary filehandles | Jeff King | 1 | -15/+2 |
2015-08-10 | find_hook: keep our own static buffer | Jeff King | 1 | -4/+6 |
2015-05-11 | Merge branch 'nd/multiple-work-trees' | Junio C Hamano | 1 | -2/+2 |
2015-03-25 | Merge branch 'jk/run-command-capture' | Junio C Hamano | 1 | -1/+22 |
2015-03-22 | run-command: forbid using run_command with piped output | Jeff King | 1 | -1/+6 |
2015-03-22 | run-command: introduce capture_command helper | Jeff King | 1 | -0/+16 |
2015-03-10 | git-compat-util.h: move SHELL_PATH default into header | Kyle J. McKay | 1 | -4/+0 |
2014-12-22 | Merge branch 'jc/hook-cleanup' | Junio C Hamano | 1 | -17/+0 |
2014-12-01 | path.c: make get_pathname() call sites return const char * | Nguyễn Thái Ngọc Duy | 1 | -2/+2 |
2014-12-01 | run-command.c: retire unused run_hook_with_custom_index() | Junio C Hamano | 1 | -17/+0 |
2014-11-10 | run-command: use void to declare that functions take no parameters | René Scharfe | 1 | -2/+2 |
2014-10-24 | Merge branch 'eb/no-pthreads' | Junio C Hamano | 1 | -0/+40 |
2014-10-19 | Handle atexit list internaly for unthreaded builds | Etienne Buira | 1 | -0/+40 |
2014-10-19 | run-command: add env_array, an optional argv_array for env | René Scharfe | 1 | -0/+6 |
2014-08-20 | run-command: inline prepare_run_command_v_opt() | René Scharfe | 1 | -16/+8 |
2014-08-20 | run-command: call run_command_v_opt_cd_env() instead of duplicating it | René Scharfe | 1 | -3/+1 |
2014-08-20 | run-command: introduce child_process_init() | René Scharfe | 1 | -0/+6 |
2014-08-20 | run-command: introduce CHILD_PROCESS_INIT | René Scharfe | 1 | -2/+1 |
2014-07-30 | Merge branch 'sk/mingw-uni-fix-more' | Junio C Hamano | 1 | -8/+2 |
2014-07-21 | Win32: don't copy the environment twice when spawning child processes | Karsten Blees | 1 | -8/+2 |
2014-07-17 | run-command: use internal argv_array of struct child_process in run_hook_ve() | René Scharfe | 1 | -11/+4 |
2014-05-15 | run-command: store an optional argv_array | Jeff King | 1 | -1/+8 |
2014-03-18 | commit: fix patch hunk editing with "commit -p -m" | Benoit Pierre | 1 | -12/+32 |
2013-10-31 | run-command: trivial style fixes | Felipe Contreras | 1 | -8/+5 |
2013-07-22 | Merge branch 'tr/fd-gotcha-fixes' | Junio C Hamano | 1 | -1/+4 |
2013-07-12 | run-command: dup_devnull(): guard against syscalls failing | Thomas Rast | 1 | -1/+4 |
2013-05-08 | mingw: rename WIN32 cpp macro to GIT_WINDOWS_NATIVE | Jonathan Nieder | 1 | -5/+5 |
2013-04-19 | Merge branch 'jk/a-thread-only-dies-once' | Junio C Hamano | 1 | -0/+11 |
2013-04-16 | run-command: use thread-aware die_is_recursing routine | Jeff King | 1 | -0/+11 |
2013-03-21 | run-command: always set failed_errno in start_command | Jeff King | 1 | -2/+3 |
2013-02-07 | Merge branch 'sb/run-command-fd-error-reporting' | Junio C Hamano | 1 | -2/+6 |
2013-02-01 | run-command: be more informative about what failed | Stephen Boyd | 1 | -2/+6 |