The function pull() in fetch.c calls write_ref_sha1(), which may
need committer identity to update the ref-log, so they need to
call setup_ident() before calling git_config() function.
Acked-by: Shawn Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
setup_git_directory();
git_config(git_default_config);
setup_git_directory();
git_config(git_default_config);
char **commit_id;
int arg = 1;
char **commit_id;
int arg = 1;
setup_git_directory();
git_config(git_default_config);
setup_git_directory();
git_config(git_default_config);
prog = getenv("GIT_SSH_PUSH");
if (!prog) prog = "git-ssh-upload";
prog = getenv("GIT_SSH_PUSH");
if (!prog) prog = "git-ssh-upload";
setup_git_directory();
git_config(git_default_config);
setup_git_directory();
git_config(git_default_config);