summaryrefslogtreecommitdiff
path: root/exec_cmd.c
AgeCommit message (Expand)AuthorFilesLines
2015-05-26Merge branch 'jk/git-no-more-argv0-path-munging' into maintLibravatar Junio C Hamano1-1/+0
2015-04-22stop putting argv[0] dirname at front of PATHLibravatar Jeff King1-1/+0
2014-12-22Merge branch 'jc/exec-cmd-system-path-leak-fix'Libravatar Junio C Hamano1-4/+3
2014-11-30system_path(): always return free'able memory to the callerLibravatar Junio C Hamano1-4/+3
2014-08-26use strbuf_add_absolute_path() to add absolute pathsLibravatar René Scharfe1-5/+1
2012-04-05run-command: treat inaccessible directories as ENOENTLibravatar Jeff King1-1/+1
2011-03-17Name make_*_path functions more accuratelyLibravatar Carlos Martín Nieto1-1/+1
2011-01-19exec_cmd: remove unused externLibravatar Erik Faye-Lund1-1/+0
2010-05-21Merge branch 'cw/maint-exec-defpath'Libravatar Junio C Hamano1-1/+1
2010-04-15exec_cmd.c: replace hard-coded path list with one from <paths.h>Libravatar Chris Webb1-1/+1
2010-02-23Print RUNTIME_PREFIX warning only when GIT_TRACE is setLibravatar Johannes Sixt1-1/+1
2009-03-26Merge branch 'js/maint-1.6.0-exec-path-env'Libravatar Junio C Hamano1-0/+4
2009-03-21Propagate --exec-path setting to external commands via GIT_EXEC_PATHLibravatar Johannes Sixt1-0/+4
2009-02-19system_path(): simplify using strip_path_suffix(), and add suffix "git"Libravatar Johannes Schindelin1-29/+4
2009-01-26Compute prefix at runtime if RUNTIME_PREFIX is setLibravatar Steffen Prohaska1-0/+44
2009-01-26Modify setup_path() to only add git_exec_path() to PATHLibravatar Steffen Prohaska1-3/+1
2009-01-26git_extract_argv0_path(): Move check for valid argv0 from caller to calleeLibravatar Steffen Prohaska1-1/+5
2009-01-26Refactor git_set_argv0_path() to git_extract_argv0_path()Libravatar Steve Haslam1-2/+12
2009-01-26Move computation of absolute paths from Makefile to runtime (in preparation f...Libravatar Steffen Prohaska1-5/+8
2008-10-12Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializerLibravatar Brandon Casey1-3/+1
2008-07-28Refactor, adding prepare_git_cmd(const char **argv)Libravatar Steffen Prohaska1-1/+6
2008-07-25Allow add_path() to add non-existent directories to the pathLibravatar Johannes Sixt1-1/+1
2008-07-25Allow the built-in exec path to be relative to the command invocation pathLibravatar Johannes Sixt1-36/+2
2008-07-25Fix relative built-in paths to be relative to the command invocationLibravatar Johannes Sixt1-2/+2
2008-07-25Record the command invocation path earlyLibravatar Johannes Sixt1-2/+8
2008-07-13Move code interpreting path relative to exec-dir to new function system_path()Libravatar Steffen Prohaska1-0/+10
2008-07-02Merge branch 'j6t/mingw'Libravatar Junio C Hamano1-4/+37
2008-06-26Windows: Compute the fallback for exec_path from the program invocation.Libravatar Johannes Sixt1-0/+29
2008-06-26Turn builtin_exec_path into a function.Libravatar Johannes Sixt1-3/+7
2008-06-23Prepare execv_git_cmd() for removal of builtins from the filesystemLibravatar Junio C Hamano1-19/+12
2008-06-22Windows: Use the Windows style PATH separator ';'.Libravatar Johannes Sixt1-1/+1
2007-12-03Trace and quote with argv: get rid of unneeded count argument.Libravatar Christian Couder1-1/+1
2007-10-29use only the $PATH for exec'ing git commandsLibravatar Scott R Parish1-69/+53
2007-10-29"current_exec_path" is a misleading name, use "argv_exec_path"Libravatar Scott R Parish1-6/+6
2007-02-20Mechanical conversion to use prefixcmp()Libravatar Junio C Hamano1-1/+1
2006-12-19Use preprocessor constants for environment variable names.Libravatar Junio C Hamano1-2/+2
2006-08-31Trace into open fd and refactor tracing code.Libravatar Christian Couder1-16/+2
2006-08-15remove unnecessary initializationsLibravatar David Rientjes1-1/+1
2006-07-09GIT_TRACE: fix a mixed declarations and code warningLibravatar Timo Hirvonen1-1/+1
2006-07-09GIT_TRACE: show which built-in/external commands are executedLibravatar Matthias Lederhofer1-0/+19
2006-05-30git_exec_path, execv_git_cmd: ignore empty environment variablesLibravatar Dmitry V. Levin1-2/+2
2006-05-30execv_git_cmd: Fix stack buffer overflow.Libravatar Dmitry V. Levin1-9/+23
2006-04-17cleanups: remove unused variable from exec_cmd.cLibravatar Serge E. Hallyn1-3/+1
2006-03-09Use #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))Libravatar Junio C Hamano1-1/+1
2006-03-05Const tightening.Libravatar Junio C Hamano1-6/+7
2006-02-26Use setenv(), fix warningsLibravatar Timo Hirvonen1-1/+1
2006-01-13Exec git programs without using PATH.Libravatar Michal Ostrowski1-0/+117