Merge branch 'tf/doc-pt-br'
[gitweb.git] / transport.c
index 4cb807700a445fd985bbcc77259a9b5b484d1932..644a30a0b200b339d291f4cc3d35b2268d12facd 100644 (file)
@@ -869,8 +869,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)