Re: [PATCH v2 02/21] config: add git_config_get_split_index()

2016-12-26 Thread Christian Couder
On Mon, Dec 19, 2016 at 12:14 PM, Duy Nguyen wrote: > On Sat, Dec 17, 2016 at 03:55:28PM +0100, Christian Couder wrote: >> diff --git a/config.c b/config.c >> index 2eaf8ad77a..c1343bbb3e 100644 >> --- a/config.c >> +++ b/config.c >> @@ -1709,6 +1709,16 @@ int git_config_get_untracked_cache(void)

Re: [PATCH v2 02/21] config: add git_config_get_split_index()

2016-12-19 Thread Duy Nguyen
On Sat, Dec 17, 2016 at 03:55:28PM +0100, Christian Couder wrote: > diff --git a/config.c b/config.c > index 2eaf8ad77a..c1343bbb3e 100644 > --- a/config.c > +++ b/config.c > @@ -1709,6 +1709,16 @@ int git_config_get_untracked_cache(void) > return -1; /* default value */ > } > > +int git_c

[PATCH v2 02/21] config: add git_config_get_split_index()

2016-12-17 Thread Christian Couder
This new function will be used in a following commit to know if we want to use the split index feature or not. Signed-off-by: Christian Couder --- cache.h | 1 + config.c | 10 ++ 2 files changed, 11 insertions(+) diff --git a/cache.h b/cache.h index a50a61a197..c126fe475e 100644 ---