Merge branch 'maint'

* maint:
  push: Correctly initialize nonfastforward in transport_push.
maint
Junio C Hamano 2009-09-20 12:13:47 -07:00
commit 6e4ece61ff
1 changed files with 2 additions and 1 deletions

View File

@ -869,8 +869,9 @@ int transport_set_option(struct transport *transport,


int transport_push(struct transport *transport, int transport_push(struct transport *transport,
int refspec_nr, const char **refspec, int flags, int refspec_nr, const char **refspec, int flags,
int * nonfastforward) int *nonfastforward)
{ {
*nonfastforward = 0;
verify_remote_names(refspec_nr, refspec); verify_remote_names(refspec_nr, refspec);


if (transport->push) if (transport->push)