aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-11-26 22:32:34 +0700
committerJunio C Hamano <gitster@pobox.com>2010-12-22 14:34:24 -0800
commit337e51cedfdf1f98e1c151b72f06c7ca8bcea0fd (patch)
tree356264b3e2ce5f3306f8dec995efc885cea4c4e0 /perl
parentdbdf5854b21852676de6a8baf052147217ce809b (diff)
downloadgit-337e51cedfdf1f98e1c151b72f06c7ca8bcea0fd.tar.gz
git-337e51cedfdf1f98e1c151b72f06c7ca8bcea0fd.tar.xz
Use git_config_early() instead of git_config() during repo setup
When git_config() is called, either git_dir has already been set (by $GIT_DIR env or set_git_dir()), or it will default git_dir to ".git". git_config_early() gives setup functions more freedom because it does not require git_dir. Give it a config path, it will happily examine it. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'perl')
0 files changed, 0 insertions, 0 deletions