Make networking commands to work from a subdirectory.
[gitweb.git] / http-push.c
index ad789829c1c33e00cbcc9e1e1564e645755d49ab..c6e782cbed88edd68a764eac2f86887758dbec00 100644 (file)
@@ -1239,6 +1239,7 @@ int main(int argc, char **argv)
        int rc = 0;
        int i;
 
+       setup_git_directory();
        setup_ident();
 
        remote = xmalloc(sizeof(*remote));