@matheusbsbs / matheus-bagliano / commits / 94d8213f2c
Fork 0

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 <junkio@cox.net>

Junio C Hamano committed Sep 27, 2006 at 13:47 UTC 94d8213f2c98c4a5fd50484fcb11b4b24b403294
1 file changed +1
receive-pack.c
+1
@@ -261,6 +261,7 @@ int main(int argc, char **argv)
261 if (!enter_repo(dir, 0))
262 die("'%s': unable to chdir or not a git archive", dir);
263
264 + setup_ident();
265 git_config(git_default_config);
266
267 write_head_info();