Re: [PATCH] ref-filter: fix indentation
Matthieu Moy <Matthieu.Moy@imag.fr> writes:
> Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
> ---
> This is meant to be applied on top of kn/for-each-ref.
Hmm, as 2.5 is already out and we can rewind 'next' in the coming couple of days, I am tempted to squash this in instead of applying it on top.
Thanks.
Show 18 quoted lines
> ref-filter.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/ref-filter.c b/ref-filter.c
> index 43502a4..3fbbbeb 100644
> --- a/ref-filter.c
> +++ b/ref-filter.c
> @@ -868,8 +868,8 @@ static int ref_filter_handler(const char *refname, const struct object_id *oid,
> struct ref_array_item *ref;
>
> if (flag & REF_BAD_NAME) {
> - warning("ignoring ref with broken name %s", refname);
> - return 0;
> + warning("ignoring ref with broken name %s", refname);
> + return 0;
> }
>
> if (*filter->name_patterns && !match_name_as_path(filter->name_patterns, refname))