Code

Git archive and trailing "/" in prefix
[git.git] / transport.c
index f231b355f24476372c9b89c35a41231a18e45719..ce1d25e46ec59568b4e5751ae61ac145043625d7 100644 (file)
@@ -1001,8 +1001,9 @@ int transport_set_option(struct transport *transport,
 
 int transport_push(struct transport *transport,
                   int refspec_nr, const char **refspec, int flags,
-                  int * nonfastforward)
+                  int *nonfastforward)
 {
+       *nonfastforward = 0;
        verify_remote_names(refspec_nr, refspec);
 
        if (transport->push)