Merge branch 'maint'

* maint:
  push: Correctly initialize nonfastforward in transport_push.
This commit is contained in:
Junio C Hamano 2009-09-20 12:13:47 -07:00
commit 6e4ece61ff

View 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)