41 Commits (aeb2aaa7712f7af8237d5bceb725a7db8c2d4620)

Author SHA1 Message Date
Carlos Martín Nieto e2a57aac8a Name make_*_path functions more accurately 14 years ago
Erik Faye-Lund b312b4123b exec_cmd: remove unused extern 14 years ago
Chris Webb cb6a22c076 exec_cmd.c: replace hard-coded path list with one from <paths.h> 15 years ago
Johannes Sixt aa0945701e Print RUNTIME_PREFIX warning only when GIT_TRACE is set 15 years ago
Johannes Sixt c90d565a46 Propagate --exec-path setting to external commands via GIT_EXEC_PATH 16 years ago
Johannes Schindelin 024aa7d8d5 system_path(): simplify using strip_path_suffix(), and add suffix "git" 16 years ago
Steffen Prohaska 35fb0e8633 Compute prefix at runtime if RUNTIME_PREFIX is set 16 years ago
Steffen Prohaska 8e3462837b Modify setup_path() to only add git_exec_path() to PATH 16 years ago
Steffen Prohaska 2cd72b0b29 git_extract_argv0_path(): Move check for valid argv0 from caller to callee 16 years ago
Steve Haslam 4dd47c3b86 Refactor git_set_argv0_path() to git_extract_argv0_path() 16 years ago
Steffen Prohaska 026fa0d5ad Move computation of absolute paths from Makefile to runtime (in preparation for RUNTIME_PREFIX) 16 years ago
Brandon Casey f285a2d7ed Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializer 16 years ago
Steffen Prohaska 4933e5ebde Refactor, adding prepare_git_cmd(const char **argv) 17 years ago
Johannes Sixt 10c4c881c4 Allow add_path() to add non-existent directories to the path 17 years ago
Johannes Sixt 49fa65a7a8 Allow the built-in exec path to be relative to the command invocation path 17 years ago
Johannes Sixt 966c6edd31 Fix relative built-in paths to be relative to the command invocation 17 years ago
Johannes Sixt e1464ca7bb Record the command invocation path early 17 years ago
Steffen Prohaska 2de9de5e4a Move code interpreting path relative to exec-dir to new function system_path() 17 years ago
Johannes Sixt 6fad004a37 Windows: Compute the fallback for exec_path from the program invocation. 17 years ago
Johannes Sixt 4ec22a48c0 Turn builtin_exec_path into a function. 17 years ago
Junio C Hamano 7550be0a2b Prepare execv_git_cmd() for removal of builtins from the filesystem 17 years ago
Johannes Sixt 80ba074f41 Windows: Use the Windows style PATH separator ';'. 17 years ago
Christian Couder b319ce4c14 Trace and quote with argv: get rid of unneeded count argument. 17 years ago
Scott R Parish 511707d42b use only the $PATH for exec'ing git commands 17 years ago
Scott R Parish 384df83312 "current_exec_path" is a misleading name, use "argv_exec_path" 17 years ago
Junio C Hamano cc44c7655f Mechanical conversion to use prefixcmp() 18 years ago
Junio C Hamano d4ebc36c5e Use preprocessor constants for environment variable names. 18 years ago
Christian Couder 6ce4e61f1b Trace into a file or an open fd and refactor tracing code. 19 years ago
Christian Couder 7cf67205ca Trace into open fd and refactor tracing code. 19 years ago
David Rientjes 96f1e58f52 remove unnecessary initializations 19 years ago
Timo Hirvonen e82e058d3a GIT_TRACE: fix a mixed declarations and code warning 19 years ago
Matthias Lederhofer 575ba9d69d GIT_TRACE: show which built-in/external commands are executed 19 years ago
Dmitry V. Levin 2b6016263c git_exec_path, execv_git_cmd: ignore empty environment variables 19 years ago
Dmitry V. Levin d685990101 execv_git_cmd: Fix stack buffer overflow. 19 years ago
Serge E. Hallyn bb996614de cleanups: remove unused variable from exec_cmd.c 19 years ago
Junio C Hamano b4f2a6ac92 Use #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) 19 years ago
Junio C Hamano 9201c70742 Const tightening. 19 years ago
Timo Hirvonen 962554c616 Use setenv(), fix warnings 19 years ago
Michal Ostrowski 77cb17e940 Exec git programs without using PATH. 19 years ago