Re: [PATCH] ref-filter: fix indentation
From: Junio C Hamano <hidden>
Date: 2016-06-15 23:05:56
Matthieu Moy [off-list ref] writes:
Signed-off-by: Matthieu Moy <redacted> --- 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.
quoted hunk
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))