Subject: [PATCH 00/11] nd/the-index-final small update

From: Nguyễn Thái Ngọc Duy <[email-masked]>
Date: Thu, 24 Jan 2019 15:29:01 +0700

This was noticed by Ramsay [1] and I almost forgot.

[1] http://public-inbox.org/git/[email-masked]

Range-diff:
1:  4478671442 ! 1:  971d2839ab cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch
    @@ -2,12 +2,11 @@
     
         cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switch
     
    -    >From now on, by default index compat macros are off because they could
    +    From now on, by default index compat macros are off because they could
         hide the_index dependency. Only those in builtin can use it (and even
         so should be avoided if possible).
     
         Signed-off-by: Nguyễn Thái Ngọc Duy <[email-masked]>
    -    Signed-off-by: Junio C Hamano <[email-masked]>
     
      diff --git a/attr.c b/attr.c
      --- a/attr.c
    @@ -590,6 +589,15 @@
      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
    + #include "cache.h"
    + #include "repository.h"
    + #include "object-store.h"
     @@
      /* The main repository */
      static struct repository the_repo;
-- 
2.20.1.560.g70ca8b83ee