diff options
author | Brandon Williams <bmwill@google.com> | 2018-05-16 15:58:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-18 06:19:44 +0900 |
commit | afb1aed403de404c1e09fae5b8028f6b8f6982d3 (patch) | |
tree | d539c201158ef7b72b406287cf10e7374d013ab9 /transport.c | |
parent | 5c7ec8462d8706f9731f0d54ea3fdfe810d60a88 (diff) | |
download | git-afb1aed403de404c1e09fae5b8028f6b8f6982d3.tar.gz |
remote: convert check_push_refs to take a struct refspec
Convert 'check_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 'transport.c')
-rw-r--r-- | transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.c b/transport.c index 24a97d9e8d..e32bc320cf 100644 --- a/transport.c +++ b/transport.c @@ -1090,7 +1090,7 @@ int transport_push(struct transport *transport, struct argv_array ref_prefixes = ARGV_ARRAY_INIT; int i; - if (check_push_refs(local_refs, rs->raw_nr, rs->raw) < 0) + if (check_push_refs(local_refs, rs) < 0) return -1; for (i = 0; i < rs->nr; i++) { |