From 19c4588178463cd8f0745d430159ab806d9fa6e4 Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Fri, 4 Aug 2006 22:01:34 +0100 Subject: commit walkers: setup_ident() to record correct committer in ref-log. 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 Signed-off-by: Junio C Hamano --- http-fetch.c | 1 + 1 file changed, 1 insertion(+) (limited to 'http-fetch.c') diff --git a/http-fetch.c b/http-fetch.c index 1aad39b4d8..36af3e5b94 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -1226,6 +1226,7 @@ int main(int argc, const char **argv) int arg = 1; int rc = 0; + setup_ident(); setup_git_directory(); git_config(git_default_config); -- cgit v1.2.3