Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  push: Correctly initialize nonfastforward in transport_push.
  • Loading branch information
Junio C Hamano committed Sep 20, 2009
2 parents f5c3178 + bb8cccd commit 6e4ece6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6e4ece6

Please sign in to comment.