aboutsummaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-02-12 10:08:54 -0800
committerJunio C Hamano <gitster@pobox.com>2025-02-12 10:08:54 -0800
commit998c5f0c7554f511bafff587292f986a42fa2944 (patch)
tree09b67e85355f25fc4ccef877c53afd19ffb8ca77 /remote.h
parent791677a5ddce9730a1203188938406ae030ed170 (diff)
parentd549b6c9ff44d3ccb32b9bfe1816d3cfb1d7052a (diff)
downloadgit-998c5f0c7554f511bafff587292f986a42fa2944.tar.xz
Merge branch 'ms/refspec-cleanup'
Code clean-up. cf. <Z6G-toOJjMmK8iJG@pks.im> * ms/refspec-cleanup: refspec: relocate apply_refspecs and related funtions refspec: relocate matching related functions remote: rename query_refspecs functions refspec: relocate refname_matches_negative_refspec_item remote: rename function omit_name_by_refspec
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/remote.h b/remote.h
index a19353f689..d3978cdb8d 100644
--- a/remote.h
+++ b/remote.h
@@ -263,21 +263,6 @@ int resolve_remote_symref(struct ref *ref, struct ref *list);
*/
struct ref *ref_remove_duplicates(struct ref *ref_map);
-/*
- * Check whether a name matches any negative refspec in rs. Returns 1 if the
- * name matches at least one negative refspec, and 0 otherwise.
- */
-int omit_name_by_refspec(const char *name, struct refspec *rs);
-
-/*
- * Remove all entries in the input list which match any negative refspec in
- * the refspec list.
- */
-struct ref *apply_negative_refspecs(struct ref *ref_map, struct refspec *rs);
-
-int query_refspecs(struct refspec *rs, struct refspec_item *query);
-char *apply_refspecs(struct refspec *rs, const char *name);
-
int check_push_refs(struct ref *src, struct refspec *rs);
int match_push_refs(struct ref *src, struct ref **dst,
struct refspec *rs, int flags);