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