summaryrefslogtreecommitdiff
path: root/exec_cmd.c
Commit message (Expand)AuthorAgeFilesLines
* exec_cmd: rename to use dash in file nameStefan Beller2018-04-111-165/+0
* git_extract_argv0_path: do nothing without RUNTIME_PREFIXjk/system-path-cleanupJeff King2017-09-071-14/+19
* system_path: move RUNTIME_PREFIX to a sub-functionJeff King2017-09-071-12/+21
* Merge branch 'js/exec-path-coverity-workaround'Junio C Hamano2017-01-311-6/+8
|\
| * git_exec_path: do not return the result of getenv()js/exec-path-coverity-workaroundJeff King2017-01-091-9/+8
| * git_exec_path: avoid Coverity warning about unfree()d resultJohannes Schindelin2017-01-081-1/+4
* | common-main: stop munging argv[0] pathjk/common-mainJeff King2016-11-291-7/+3
|/
* Merge branch 'jk/tighten-alloc'Junio C Hamano2016-02-261-17/+11
|\
| * prepare_{git,shell}_cmd: use argv_arrayJeff King2016-02-221-17/+11
| * Merge branch 'jk/git-no-more-argv0-path-munging'Junio C Hamano2015-05-191-1/+0
| |\
* | | exec_cmd.c: use find_last_dir_sep() for code simplificationak/extract-argv0-last-dir-sepAlexander Kuleshov2016-02-191-4/+2
* | | Merge branch 'jk/git-no-more-argv0-path-munging' into maintJunio C Hamano2015-05-261-1/+0
|\ \ \ | |/ / |/| / | |/
| * stop putting argv[0] dirname at front of PATHjk/git-no-more-argv0-path-mungingJeff King2015-04-221-1/+0
* | Merge branch 'jc/exec-cmd-system-path-leak-fix'Junio C Hamano2014-12-221-4/+3
|\ \ | |/ |/|
| * system_path(): always return free'able memory to the callerjc/exec-cmd-system-path-leak-fixJunio C Hamano2014-11-301-4/+3
* | use strbuf_add_absolute_path() to add absolute pathsrs/strbuf-getcwdRené Scharfe2014-08-261-5/+1
|/
* run-command: treat inaccessible directories as ENOENTJeff King2012-04-051-1/+1
* Name make_*_path functions more accuratelyCarlos Martín Nieto2011-03-171-1/+1
* exec_cmd: remove unused externErik Faye-Lund2011-01-191-1/+0
* Merge branch 'cw/maint-exec-defpath'Junio C Hamano2010-05-211-1/+1
|\
| * exec_cmd.c: replace hard-coded path list with one from <paths.h>Chris Webb2010-04-151-1/+1
* | Print RUNTIME_PREFIX warning only when GIT_TRACE is setJohannes Sixt2010-02-231-1/+1
|/
* Merge branch 'js/maint-1.6.0-exec-path-env'Junio C Hamano2009-03-261-0/+4
|\
| * Propagate --exec-path setting to external commands via GIT_EXEC_PATHJohannes Sixt2009-03-211-0/+4
* | system_path(): simplify using strip_path_suffix(), and add suffix "git"Johannes Schindelin2009-02-191-29/+4
* | Compute prefix at runtime if RUNTIME_PREFIX is setSteffen Prohaska2009-01-261-0/+44
* | Modify setup_path() to only add git_exec_path() to PATHSteffen Prohaska2009-01-261-3/+1
* | git_extract_argv0_path(): Move check for valid argv0 from caller to calleeSteffen Prohaska2009-01-261-1/+5
* | Refactor git_set_argv0_path() to git_extract_argv0_path()Steve Haslam2009-01-261-2/+12
* | Move computation of absolute paths from Makefile to runtime (in preparation f...Steffen Prohaska2009-01-261-5/+8
* | Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializerBrandon Casey2008-10-121-3/+1
|/
* Refactor, adding prepare_git_cmd(const char **argv)Steffen Prohaska2008-07-281-1/+6
* Allow add_path() to add non-existent directories to the pathJohannes Sixt2008-07-251-1/+1
* Allow the built-in exec path to be relative to the command invocation pathJohannes Sixt2008-07-251-36/+2
* Fix relative built-in paths to be relative to the command invocationJohannes Sixt2008-07-251-2/+2
* Record the command invocation path earlyJohannes Sixt2008-07-251-2/+8
* Move code interpreting path relative to exec-dir to new function system_path()Steffen Prohaska2008-07-131-0/+10
* Merge branch 'j6t/mingw'Junio C Hamano2008-07-021-4/+37
|\
| * Windows: Compute the fallback for exec_path from the program invocation.Johannes Sixt2008-06-261-0/+29
| * Turn builtin_exec_path into a function.Johannes Sixt2008-06-261-3/+7
| * Windows: Use the Windows style PATH separator ';'.Johannes Sixt2008-06-221-1/+1
* | Prepare execv_git_cmd() for removal of builtins from the filesystemJunio C Hamano2008-06-231-19/+12
|/
* Trace and quote with argv: get rid of unneeded count argument.Christian Couder2007-12-031-1/+1
* use only the $PATH for exec'ing git commandsScott R Parish2007-10-291-69/+53
* "current_exec_path" is a misleading name, use "argv_exec_path"Scott R Parish2007-10-291-6/+6
* Mechanical conversion to use prefixcmp()Junio C Hamano2007-02-201-1/+1
* Use preprocessor constants for environment variable names.Junio C Hamano2006-12-191-2/+2
* Trace into open fd and refactor tracing code.Christian Couder2006-08-311-16/+2
* remove unnecessary initializationsDavid Rientjes2006-08-151-1/+1
* GIT_TRACE: fix a mixed declarations and code warningTimo Hirvonen2006-07-091-1/+1