diff options
author | Brandon Williams <bmwill@google.com> | 2018-05-16 22:58:21 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-17 21:19:44 (GMT) |
commit | 5c7ec8462d8706f9731f0d54ea3fdfe810d60a88 (patch) | |
tree | 806f0fd0f8850ed22298cd882a056c99c101bdd9 /http-push.c | |
parent | 38490dd416af41ce65eab0fc91de14009c73d606 (diff) | |
download | git-5c7ec8462d8706f9731f0d54ea3fdfe810d60a88.zip git-5c7ec8462d8706f9731f0d54ea3fdfe810d60a88.tar.gz git-5c7ec8462d8706f9731f0d54ea3fdfe810d60a88.tar.bz2 |
remote: convert match_push_refs to take a struct refspec
Convert 'match_push_refs()' to take a 'struct refspec' as a parameter
instead of an array of 'const char *'.
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-push.c')
-rw-r--r-- | http-push.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/http-push.c b/http-push.c index a724ef0..ea5af62 100644 --- a/http-push.c +++ b/http-push.c @@ -1823,8 +1823,7 @@ int cmd_main(int argc, const char **argv) } /* match them up */ - if (match_push_refs(local_refs, &remote_refs, - rs.raw_nr, rs.raw, push_all)) { + if (match_push_refs(local_refs, &remote_refs, &rs, push_all)) { rc = -1; goto cleanup; } |