summaryrefslogtreecommitdiff
path: root/t/test4012.png
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <Johannes.Schindelin@gmx.de>2006-06-20 00:51:58 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-06-19 17:30:34 -0700
commit9c3796fc0474ac6fc77da4886a246a37a7fbe856 (patch)
tree7baefcb350040242e902861ae07b72a26421038a /t/test4012.png
parentSupport for extracting configuration from different files (diff)
downloadtgif-9c3796fc0474ac6fc77da4886a246a37a7fbe856.tar.xz
Fix setting config variables with an alternative GIT_CONFIG
When setting a config variable, git_config_set() ignored the variables GIT_CONFIG and GIT_CONFIG_LOCAL. Now, when GIT_CONFIG_LOCAL is set, it will write to that file. If not, GIT_CONFIG is checked, and only as a fallback, the change is written to $GIT_DIR/config. Add a test for it, and also future-proof the test for the upcoming $HOME/.gitconfig support. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/test4012.png')
0 files changed, 0 insertions, 0 deletions