receive-pack: call setup_ident before git_config
[gitweb.git] / receive-pack.c
index f0b4cb47c78434a27faaedaeac030d9ce1187edd..c8aacbbdd3089fdc412da368ca7609da590e0ca3 100644 (file)
@@ -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();