On Sat, May 30, 2015 at 1:53 PM, Karthik Nayak <karthik....@gmail.com> wrote:
> Rename some of the functions and make them publically available.

s/publically/publicly/

> This is a preparatory step for moving code from 'for-each-ref'
> to 'ref-filter' to make meaningful, targeted services available to
> other commands via public APIs.
>
> Based-on-patch-by: Jeff King <p...@peff.net>
> Mentored-by: Christian Couder <christian.cou...@gmail.com>
> Mentored-by: Matthieu Moy <matthieu....@grenoble-inp.fr>
> Signed-off-by: Karthik Nayak <karthik....@gmail.com>
> ---
> diff --git a/builtin/for-each-ref.c b/builtin/for-each-ref.c
> index f896e1c..8fed04b 100644
> --- a/builtin/for-each-ref.c
> +++ b/builtin/for-each-ref.c
> @@ -882,10 +882,10 @@ static struct ref_array_item *new_ref_array_item(const 
> char *refname,
>  }
>
>  /*
> - * A call-back given to for_each_ref().  Filter refs and keep them for
> + * A call-back given to for_each_ref(). Filter refs and keep them for

Sneaking in whitespace change?

>   * later object processing.
>   */
> -static int grab_single_ref(const char *refname, const unsigned char *sha1, 
> int flag, void *cb_data)
> +int ref_filter_handler(const char *refname, const unsigned char *sha1, int 
> flag, void *cb_data)
>  {
>         struct ref_filter_cbdata *ref_cbdata = cb_data;
>         struct ref_filter *filter = &ref_cbdata->filter;
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to