trivial: use git-repo-config to detect if the test can be run on the repository
[gitweb.git] / http-push.c
index fc013ec139bd066a4d32357d7508d10c82b6f873..fe925609b4024119c6171dd32350a6570bea8516 100644 (file)
@@ -1237,6 +1237,7 @@ int main(int argc, char **argv)
        int rc = 0;
        int i;
 
+       setup_git_directory();
        setup_ident();
 
        remote = xmalloc(sizeof(*remote));