commit walkers: setup_ident() to record correct committer in ref-log.
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Fri, 4 Aug 2006 21:01:34 +0000 (22:01 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 5 Aug 2006 20:51:58 +0000 (13:51 -0700)
commit19c4588178463cd8f0745d430159ab806d9fa6e4
tree41b533e685060be306d33cc1e0729996ad8c77a6
parent07efc6a6b6e5098ccd2dcce853be421b7dd1e244
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 <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c
local-fetch.c
ssh-fetch.c