summaryrefslogtreecommitdiff
path: root/exec_cmd.c
AgeCommit message (Expand)Author
2017-09-07git_extract_argv0_path: do nothing without RUNTIME_PREFIXJeff King
2017-09-07system_path: move RUNTIME_PREFIX to a sub-functionJeff King
2017-01-31Merge branch 'js/exec-path-coverity-workaround'Junio C Hamano
2017-01-09git_exec_path: do not return the result of getenv()Jeff King
2017-01-09git_exec_path: avoid Coverity warning about unfree()d resultJohannes Schindelin
2016-11-29common-main: stop munging argv[0] pathJeff King
2016-02-26Merge branch 'jk/tighten-alloc'Junio C Hamano
2016-02-22prepare_{git,shell}_cmd: use argv_arrayJeff King
2016-02-19exec_cmd.c: use find_last_dir_sep() for code simplificationAlexander Kuleshov
2015-05-26Merge branch 'jk/git-no-more-argv0-path-munging' into maintJunio C Hamano
2015-05-19Merge branch 'jk/git-no-more-argv0-path-munging'Junio C Hamano
2015-04-22stop putting argv[0] dirname at front of PATHJeff King
2014-12-22Merge branch 'jc/exec-cmd-system-path-leak-fix'Junio C Hamano
2014-12-01system_path(): always return free'able memory to the callerJunio C Hamano
2014-08-26use strbuf_add_absolute_path() to add absolute pathsRené Scharfe
2012-04-05run-command: treat inaccessible directories as ENOENTJeff King
2011-03-17Name make_*_path functions more accuratelyCarlos Martín Nieto
2011-01-19exec_cmd: remove unused externErik Faye-Lund
2010-05-21Merge branch 'cw/maint-exec-defpath'Junio C Hamano
2010-04-15exec_cmd.c: replace hard-coded path list with one from <paths.h>Chris Webb
2010-02-23Print RUNTIME_PREFIX warning only when GIT_TRACE is setJohannes Sixt
2009-03-26Merge branch 'js/maint-1.6.0-exec-path-env'Junio C Hamano
2009-03-22Propagate --exec-path setting to external commands via GIT_EXEC_PATHJohannes Sixt
2009-02-20system_path(): simplify using strip_path_suffix(), and add suffix "git"Johannes Schindelin
2009-01-26Compute prefix at runtime if RUNTIME_PREFIX is setSteffen Prohaska
2009-01-26Modify setup_path() to only add git_exec_path() to PATHSteffen Prohaska
2009-01-26git_extract_argv0_path(): Move check for valid argv0 from caller to calleeSteffen Prohaska
2009-01-26Refactor git_set_argv0_path() to git_extract_argv0_path()Steve Haslam
2009-01-26Move computation of absolute paths from Makefile to runtime (in preparation f...Steffen Prohaska
2008-10-12Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializerBrandon Casey
2008-07-29Refactor, adding prepare_git_cmd(const char **argv)Steffen Prohaska
2008-07-26Allow add_path() to add non-existent directories to the pathJohannes Sixt
2008-07-26Allow the built-in exec path to be relative to the command invocation pathJohannes Sixt
2008-07-26Fix relative built-in paths to be relative to the command invocationJohannes Sixt
2008-07-26Record the command invocation path earlyJohannes Sixt
2008-07-13Move code interpreting path relative to exec-dir to new function system_path()Steffen Prohaska
2008-07-03Merge branch 'j6t/mingw'Junio C Hamano
2008-06-26Windows: Compute the fallback for exec_path from the program invocation.Johannes Sixt
2008-06-26Turn builtin_exec_path into a function.Johannes Sixt
2008-06-24Prepare execv_git_cmd() for removal of builtins from the filesystemJunio C Hamano
2008-06-22Windows: Use the Windows style PATH separator ';'.Johannes Sixt
2007-12-04Trace and quote with argv: get rid of unneeded count argument.Christian Couder
2007-10-30use only the $PATH for exec'ing git commandsScott R Parish
2007-10-30"current_exec_path" is a misleading name, use "argv_exec_path"Scott R Parish
2007-02-21Mechanical conversion to use prefixcmp()Junio C Hamano
2006-12-19Use preprocessor constants for environment variable names.Junio C Hamano
2006-08-31Trace into open fd and refactor tracing code.Christian Couder
2006-08-16remove unnecessary initializationsDavid Rientjes
2006-07-09GIT_TRACE: fix a mixed declarations and code warningTimo Hirvonen
2006-07-09GIT_TRACE: show which built-in/external commands are executedMatthias Lederhofer