All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ref-filter: fix indentation
@ 2015-07-29 15:52 Matthieu Moy
  2015-07-29 16:11 ` Karthik Nayak
  2015-07-29 17:49 ` Junio C Hamano
  0 siblings, 2 replies; 4+ messages in thread
From: Matthieu Moy @ 2015-07-29 15:52 UTC (permalink / raw)
  To: gitster; +Cc: git, Matthieu Moy

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
---
This is meant to be applied on top of kn/for-each-ref.

 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))
-- 
2.5.0.rc0.7.ge1edd74.dirty

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ref-filter: fix indentation
  2015-07-29 15:52 [PATCH] ref-filter: fix indentation Matthieu Moy
@ 2015-07-29 16:11 ` Karthik Nayak
  2015-07-29 17:49 ` Junio C Hamano
  1 sibling, 0 replies; 4+ messages in thread
From: Karthik Nayak @ 2015-07-29 16:11 UTC (permalink / raw)
  To: Matthieu Moy; +Cc: Junio C Hamano, Git

On Wed, Jul 29, 2015 at 9:22 PM, Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
> Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
> ---
> This is meant to be applied on top of kn/for-each-ref.
>
>  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))
> --
> 2.5.0.rc0.7.ge1edd74.dirty
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Thanks for this :)

-- 
Regards,
Karthik Nayak

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ref-filter: fix indentation
  2015-07-29 15:52 [PATCH] ref-filter: fix indentation Matthieu Moy
  2015-07-29 16:11 ` Karthik Nayak
@ 2015-07-29 17:49 ` Junio C Hamano
  2015-07-29 21:18   ` Matthieu Moy
  1 sibling, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2015-07-29 17:49 UTC (permalink / raw)
  To: Matthieu Moy; +Cc: git

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.

>  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))

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ref-filter: fix indentation
  2015-07-29 17:49 ` Junio C Hamano
@ 2015-07-29 21:18   ` Matthieu Moy
  0 siblings, 0 replies; 4+ messages in thread
From: Matthieu Moy @ 2015-07-29 21:18 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Junio C Hamano <gitster@pobox.com> writes:

> 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.

Perfect.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-29 21:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-29 15:52 [PATCH] ref-filter: fix indentation Matthieu Moy
2015-07-29 16:11 ` Karthik Nayak
2015-07-29 17:49 ` Junio C Hamano
2015-07-29 21:18   ` Matthieu Moy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.