Separate the raw diff and patch with a newline
[gitweb.git] / ssh-fetch.c
index bf01fbc00d649231cb7ba49aba9432afe570b319..4eb9e04829b5925ea07c764239f91e801e158c78 100644 (file)
@@ -131,6 +131,8 @@ int main(int argc, char **argv)
        prog = getenv("GIT_SSH_PUSH");
        if (!prog) prog = "git-ssh-upload";
 
+       setup_git_directory();
+
        while (arg < argc && argv[arg][0] == '-') {
                if (argv[arg][1] == 't') {
                        get_tree = 1;