39 Commits (1966d9f37b94fa506bfa43961fb111084aaa2c45)

Author SHA1 Message Date
Johannes Sixt f6b6098316 Enable threaded async procedures whenever pthreads is available 15 years ago
Johannes Sixt 200a76b74d Reimplement async procedures using pthreads 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
Jeff King 8dba1e634a run-command: add "use shell" option 15 years ago
Frank Li 71064e3f86 Test for WIN32 instead of __MINGW32_ 15 years ago
Johannes Sixt c024beb56d run_command: report failure to execute the program, but optionally don't 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
Jeff King fd94836923 fix portability problem with IS_RUN_COMMAND_ERR 16 years ago
Jeff King 1d64f21d99 run_command(): help callers distinguish errors 16 years ago
Stephan Beyer ae98a0089f Move run_hook() from builtin-commit.c into run-command.c (libgit) 16 years ago
Nanako Shiraishi 7996ff335e run-command.c: remove run_command_v_opt_cd() 16 years ago
Jeff King ccf08bc3d0 run-command: add pre-exec callback 17 years ago
Johannes Sixt 618ebe9ff9 Windows: Implement asynchronous functions as threads. 17 years ago
Johannes Sixt c20181e3a3 start_command(), if .in/.out > 0, closes file descriptors, not the callers 17 years ago
Johannes Sixt e72ae28895 start_command(), .in/.out/.err = -1: Callers must close the file descriptor 17 years ago
Shawn O. Pearce b73a439759 run-command: Support sending stderr to /dev/null 17 years ago
Johannes Sixt 2d22c20830 Add infrastructure to run a function asynchronously. 17 years ago
Johannes Sixt f3b33f1d22 Have start_command() create a pipe to read the stderr of the child. 17 years ago
Alex Riesen 3427b375b5 Allow environment variables to be unset in the processes started by run_command 18 years ago
Alex Riesen ee4931486b Add ability to specify environment extension to run_command 18 years ago
Alex Riesen 1568fea01e Add run_command_v_opt_cd: chdir into a directory before exec 18 years ago
Shawn O. Pearce e4507ae84e Teach run-command to redirect stdout to /dev/null 18 years ago
Shawn O. Pearce f4bba25bdc Teach run-command about stdout redirection 18 years ago
Shawn O. Pearce 4919bf0354 Teach run_command how to setup a stdin pipe 18 years ago
Shawn O. Pearce ebcb5d16ca Split run_command into two halves (start/finish) 18 years ago
Shawn O. Pearce f1000898d4 Start defining a more sophisticated run_command 18 years ago
Shawn O. Pearce afdb269c76 Remove unused run_command variants 18 years ago
Shawn O. Pearce 95d3c4f546 Use /dev/null for update hook stdin. 18 years ago
Shawn O. Pearce cd83c74cb3 Redirect update hook stdout to stderr. 18 years ago
Shawn O. Pearce 9b0b50936e Remove unnecessary argc parameter from run_command_v. 18 years ago
Junio C Hamano 9201c70742 Const tightening. 19 years ago
Michal Ostrowski 77cb17e940 Exec git programs without using PATH. 19 years ago
Daniel Barkalow 128aed684d Clean up file descriptors when calling hooks. 19 years ago
Junio C Hamano 19614330dd receive-pack hooks updates. 20 years ago
Josef Weidendorfer b1bf95bba2 [PATCH] Added hook in git-receive-pack 20 years ago