From: Junio C Hamano Date: Fri, 21 Sep 2018 16:46:54 GMT Subject: Re: [PATCH v5 17/23] userdiff.c: remove implicit dependency on the_index Message-ID: In-Reply-To: <20180921155739.14407-18-pclouds@gmail.com> Nguyễn Thái Ngọc Duy writes: > diff --git a/userdiff.h b/userdiff.h > index 2ef0ce5452..dad3fc03c1 100644 > --- a/userdiff.h > +++ b/userdiff.h > @@ -21,7 +21,8 @@ struct userdiff_driver { > > int userdiff_config(const char *k, const char *v); > struct userdiff_driver *userdiff_find_by_name(const char *name); > -struct userdiff_driver *userdiff_find_by_path(const char *path); > +struct userdiff_driver *userdiff_find_by_path(struct index_state *istate, > + const char *path); > > /* > * Initialize any textconv-related fields in the driver and return it, or NULL This needs fix described in https://public-inbox.org/git/c46ca4a9-6822-436c-8e84-95b977527912@ramsayjones.plus.com/ I can squash it in.