From: Nguyễn Thái Ngọc Duy Date: Fri, 26 Nov 2010 15:32:34 +0000 (+0700) Subject: Use git_config_early() instead of git_config() during repo setup X-Git-Tag: v1.7.4-rc0~4^2~10 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/337e51cedfdf1f98e1c151b72f06c7ca8bcea0fd?hp=337e51cedfdf1f98e1c151b72f06c7ca8bcea0fd 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 Signed-off-by: Junio C Hamano ---