X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=remote.h;h=9ad8eb6cc68b0842d8dc2aef9a65c25524739d97;hb=5087aace2d5467046c7204e038009b30fdebbca6;hp=f2541b5a29a552fb9fab736f5b47a545c2eee383;hpb=901c907d83f523a5df0b10c0aafb19c512836624;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 */