Re: [RFC PATCH 3/3] refspec: relocate apply_refspecs and related funtions
On Wed, Jan 22, 2025 at 01:21:54PM +0530, Meet Soni wrote:
Show 17 quoted lines
> diff --git a/refspec.h b/refspec.h
> index d3c97bfdc5..294068d226 100644
> --- a/refspec.h
> +++ b/refspec.h
> @@ -86,4 +86,12 @@ void query_refspecs_multiple(struct refspec *rs,
> struct refspec_item *query,
> struct string_list *results);
>
> +/*
> + * 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);
> +
> +char *apply_refspecs(struct refspec *rs, const char *name);
> +
> #endif /* REFSPEC_H */
Same comment here regarding the documentation of `apply_refspecs()`.
Patrick