git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] ref-filter: fix indentation

From
Karthik Nayak <karthik.188@gmail.com>
Date
Jul 29, 2015, 16:11 UTC
Message-ID
<CAOLa=ZQf+_BkvjFC4Fv=X8_3A=KAs7e4JB2CZC3n5U6yffSLpg@mail.gmail.com>
In-Reply-To
<1438185150-31730-1-git-send-email-Matthieu.Moy@imag.fr>
On Wed, Jul 29, 2015 at 9:22 PM, Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
Show 29 quoted lines
> 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
Previous: Matthieu MoyNext: Junio C Hamano
Message 2 of 4 in “ref-filter: fix indentation”
  1. ref-filter: fix indentationMatthieu Moy, Jul 29, 2015
  2. Karthik NayakJul 29, 2015
  3. Junio C HamanoJul 29, 2015
  4. Matthieu MoyJul 29, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.