From: Junio C Hamano Date: Wed, 27 Sep 2006 20:47:21 +0000 (-0700) Subject: receive-pack: call setup_ident before git_config X-Git-Tag: v1.4.4-rc1~43^2~14 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=94d8213f2c98c4a5fd50484fcb11b4b24b403294;p=git.git receive-pack: call setup_ident before git_config Otherwise we would end up getting values from Gecos which is often not what people would want. Signed-off-by: Junio C Hamano --- diff --git a/receive-pack.c b/receive-pack.c index f0b4cb47c..c8aacbbdd 100644 --- a/receive-pack.c +++ b/receive-pack.c @@ -261,6 +261,7 @@ int main(int argc, char **argv) if (!enter_repo(dir, 0)) die("'%s': unable to chdir or not a git archive", dir); + setup_ident(); git_config(git_default_config); write_head_info();