summaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2018-05-16 22:58:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-17 21:19:44 (GMT)
commit5c7ec8462d8706f9731f0d54ea3fdfe810d60a88 (patch)
tree806f0fd0f8850ed22298cd882a056c99c101bdd9 /remote.h
parent38490dd416af41ce65eab0fc91de14009c73d606 (diff)
downloadgit-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 'remote.h')
-rw-r--r--remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.h b/remote.h
index 9050ff7..74c5574 100644
--- a/remote.h
+++ b/remote.h
@@ -163,7 +163,7 @@ char *apply_refspecs(struct refspec *rs, const char *name);
int check_push_refs(struct ref *src, int nr_refspec, const char **refspec);
int match_push_refs(struct ref *src, struct ref **dst,
- int nr_refspec, const char **refspec, int all);
+ struct refspec *rs, int flags);
void set_ref_status_for_push(struct ref *remote_refs, int send_mirror,
int force_update);