Browse Source

Merge branch 'maint'

* maint:
  push: Correctly initialize nonfastforward in transport_push.
maint
Junio C Hamano 15 years ago
parent
commit
6e4ece61ff
  1. 3
      transport.c

3
transport.c

@ -869,8 +869,9 @@ int transport_set_option(struct transport *transport, @@ -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)

Loading…
Cancel
Save