Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> writes: > This was noticed by Ramsay [1] and I almost forgot. > > [1] http://public-inbox.org/git/419519f9-1b48-93bb-eead-eacf6b383f70@xxxxxxxxxxxxxxxxxxxx Not forgetting is good ;-) > diff --git a/repository.c b/repository.c > --- a/repository.c > +++ b/repository.c > +@@ > ++/* > ++ * not really _using_ the compat macros, just make sure the_index > ++ * declaration matches the definition in this file. > ++ */ > ++#define USE_THE_INDEX_COMPATIBILITY_MACROS Hmph, that's an interesting trick. Thanks, will replace. > + #include "cache.h" > + #include "repository.h" > + #include "object-store.h" > @@ > /* The main repository */ > static struct repository the_repo;