Merge branch 'maint'
* maint: push: Correctly initialize nonfastforward in transport_push.
This commit is contained in:
commit
6e4ece61ff
@ -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…
Reference in New Issue
Block a user