Re: [PATCH] userdiff.h: add missing declaration (hdr-check)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 21, 2018, 16:24 UTC
- Message-ID
- <xmqqworex1h7.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <c46ca4a9-6822-436c-8e84-95b977527912@ramsayjones.plus.com>
Ramsay Jones <ramsay@ramsayjones.plus.com> writes:
Show 6 quoted lines
> Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> > --- > > Hi Junio, > > ... and this is the patch I needed for the current 'pu' branch.
Which in turn means that this is to fix 5b338d60 ("userdiff.c: remove implicit dependency on the_index", 2018-09-15) and should be rolled into nd/the_index topic.
Show 20 quoted lines
>
> ATB,
> Ramsay Jones
>
> userdiff.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/userdiff.h b/userdiff.h
> index dad3fc03c1..b072bfe89a 100644
> --- a/userdiff.h
> +++ b/userdiff.h
> @@ -3,6 +3,8 @@
>
> #include "notes-cache.h"
>
> +struct index_state;
> +
> struct userdiff_funcname {
> const char *pattern;
> int cflags;