110 Commits (b8fcce1e7f7baafba8b6ba0b4e9bec2f27893f43)

Author SHA1 Message Date
Thomas Rast a77f106c78 run-command: dup_devnull(): guard against syscalls failing 12 years ago
Jonathan Nieder 380395d094 mingw: rename WIN32 cpp macro to GIT_WINDOWS_NATIVE 12 years ago
Jeff King 1ece66bc9e run-command: use thread-aware die_is_recursing routine 12 years ago
Jeff King 25043d8aea run-command: always set failed_errno in start_command 12 years ago
Stephen Boyd 939296c4a4 run-command: be more informative about what failed 12 years ago
Aaron Schrab 5a7da2dca1 hooks: Add function to check if a hook exists 12 years ago
Jeff King 709ca730f8 run-command: encode signal death as a positive integer 12 years ago
Jeff King 0398fc3496 fix compilation with NO_PTHREADS 12 years ago
Jeff King a2767c5c91 run-command: do not warn about child death from terminal 12 years ago
Jeff King 13274526c1 run-command: drop silent_exec_failure arg from wait_or_whine 12 years ago
David Gould bdee397d7c run-command.c: fix broken list iteration in clear_child_for_cleanup 12 years ago
Junio C Hamano a78550831a sane_execvp(): ignore non-directory on $PATH 13 years ago
Jeff King e8320f350f pager: drop "wait for output to run less" hack 13 years ago
Johannes Sixt 776297548e Do not use SHELL_PATH from build system in prepare_shell_cmd on Windows 13 years ago
Jeff King 38f865c27d run-command: treat inaccessible directories as ENOENT 13 years ago
Ben Walton b3e34dddc0 Use SHELL_PATH from build system in run_command.c:prepare_shell_cmd 13 years ago
Clemens Buchacher 10c6cddd92 dashed externals: kill children on exit 13 years ago
Jeff King afe19ff7b5 run-command: optionally kill children on exit 13 years ago
Jeff King 5d40a17985 run_hook: use argv_array API 13 years ago
Clemens Buchacher fc1b56f054 notice error exit from pager 14 years ago
Clemens Buchacher 3bc4181fde error_routine: use parent's stderr if exec fails 14 years ago
Jonathan Nieder a111eb7808 run-command: handle short writes and EINTR in die_child 14 years ago
Junio C Hamano 60e199c4d5 Revert "run-command: prettify -D_FORTIFY_SOURCE workaround" 14 years ago
Jonathan Nieder ebec842773 run-command: prettify -D_FORTIFY_SOURCE workaround 14 years ago
Johannes Sixt 13af8cbd6a start_command: flush buffers in the WIN32 code path as well 14 years ago
bert Dvornik fc012c2810 start_command: close cmd->err descriptor when fork/spawn fails 15 years ago
Johannes Sixt f9a2743c35 Windows: start_command: Support non-NULL dir in struct child_process 15 years ago
Johannes Sixt f6b6098316 Enable threaded async procedures whenever pthreads is available 15 years ago
Johannes Sixt 0ea1c89ba6 Dying in an async procedure should only exit the thread, not the process. 15 years ago
Johannes Sixt 200a76b74d Reimplement async procedures using pthreads 15 years ago
Michael Wookey 90ff12a860 run-command.c: fix build warnings on Ubuntu 15 years ago
Erik Faye-Lund ae6a5609c0 run-command: support custom fd-set in async 15 years ago
Shawn O. Pearce 4f41b61148 run-command: Allow stderr to be a caller supplied pipe 15 years ago
Johannes Sixt 75301f9015 Windows: avoid the "dup dance" when spawning a child process 15 years ago
Johannes Sixt 2b541bf8be start_command: detect execvp failures early 15 years ago
Johannes Sixt ab0b41daf6 run-command: move wait_or_whine earlier 15 years ago
Johannes Sixt a5487ddf0f start_command: report child process setup errors to the parent's stderr 15 years ago
Jeff King f445644fd2 run-command: optimize out useless shell calls 15 years ago
Jeff King 8dba1e634a run-command: add "use shell" option 15 years ago
Frank Li 71064e3f86 Test for WIN32 instead of __MINGW32_ 16 years ago
Frank Li d7fa500fb5 Fix __stdcall placement and function prototype 16 years ago
Frank Li 0d30ad71fa Avoid declaration after statement 16 years ago
Johannes Sixt 2affea4125 start_command: do not clobber cmd->env on Windows code path 16 years ago
David Soria Parra 5a7a3671b7 run-command.c: squelch a "use before assignment" warning 16 years ago
Johannes Sixt c024beb56d run_command: report failure to execute the program, but optionally don't 16 years ago
Johannes Sixt b99d5f40d6 run_command: encode deadly signal number in the return value 16 years ago
Johannes Sixt 0ac77ec315 run_command: report system call errors instead of returning error codes 16 years ago
Johannes Sixt 5709e0363a run_command: return exit code as positive value 16 years ago
Thomas Rast d824cbba02 Convert existing die(..., strerror(errno)) to die_errno() 16 years ago
Felipe Contreras 4b25d091ba Fix a bunch of pointer declarations (codestyle) 16 years ago