X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=remote.h;h=9ad8eb6cc68b0842d8dc2aef9a65c25524739d97;hb=b476064544b9a64d062acc5e3c6be831ebb721cb;hp=f2541b5a29a552fb9fab736f5b47a545c2eee383;hpb=6c65b5ea439165512d128e18829b67688ddab9cc;p=git.git diff --git a/remote.h b/remote.h index f2541b5a2..9ad8eb6cc 100644 --- a/remote.h +++ b/remote.h @@ -96,8 +96,8 @@ void free_refspec(int nr_refspec, struct refspec *refspec); char *apply_refspecs(struct refspec *refspecs, int nr_refspec, const char *name); -int match_refs(struct ref *src, struct ref **dst, - int nr_refspec, const char **refspec, int all); +int match_push_refs(struct ref *src, struct ref **dst, + int nr_refspec, const char **refspec, int all); void set_ref_status_for_push(struct ref *remote_refs, int send_mirror, int force_update); @@ -145,7 +145,8 @@ int branch_merge_matches(struct branch *, int n, const char *); enum match_refs_flags { MATCH_REFS_NONE = 0, MATCH_REFS_ALL = (1 << 0), - MATCH_REFS_MIRROR = (1 << 1) + MATCH_REFS_MIRROR = (1 << 1), + MATCH_REFS_PRUNE = (1 << 2) }; /* Reporting of tracking info */