Re: [PATCH] git.c: prevent change of environment variables

2015-01-10 Thread Alexander Kuleshov
There is aliasing of git -c in t1300-repo-config.sh, but I see: die("alias '%s' changes environment variables\n" "You can use '!git' in the alias to do this.", alias_command); at git.c, how to be here? Thank you. 2015-01-10 18:53 GMT+06:00 Alexander Kuleshov : > We can't change

[PATCH] git.c: prevent change of environment variables

2015-01-10 Thread Alexander Kuleshov
We can't change environment variables in aliases which doesn't start with '!' * 'git --exec-path=path' changes $GIT_EXEC_PATH variable in git_set_argv_exec_path * 'git -p/--paginate' sets 'use_pager' to 1 and commit_pager_choice will change $GIT_PAGER_IN_USE variable in setup_pager(void) from pag