]> git.ipfire.org Git - thirdparty/git.git/blobdiff - ssh-fetch.c
Makefile: Cygwin does not seem to need NO_STRLCPY
[thirdparty/git.git] / ssh-fetch.c
index aef3aa4a0578c0b6c45fa20e3558e46bea4fd225..c7d8fa80e425695374f11746ae6592f52d8401d5 100644 (file)
@@ -132,6 +132,7 @@ int main(int argc, char **argv)
        prog = getenv("GIT_SSH_PUSH");
        if (!prog) prog = "git-ssh-upload";
 
+       setup_ident();
        setup_git_directory();
        git_config(git_default_config);
 
@@ -167,7 +168,7 @@ int main(int argc, char **argv)
        if (get_version())
                return 1;
 
-       if (pull(commit_id, write_ref, url))
+       if (pull(1, &commit_id, &write_ref, url))
                return 1;
 
        return 0;