Re: [PATCH v2 5/9] Make read_early_config() reusable

2017-03-03 Thread Johannes Schindelin
Hi Peff, On Thu, 2 Mar 2017, Jeff King wrote: > On Fri, Mar 03, 2017 at 03:04:20AM +0100, Johannes Schindelin wrote: > > > The pager configuration needs to be read early, possibly before > > discovering any .git/ directory. > > > > Let's not hide this function in pager.c, but make it available

Re: [PATCH v2 5/9] Make read_early_config() reusable

2017-03-03 Thread Jeff King
On Fri, Mar 03, 2017 at 03:04:20AM +0100, Johannes Schindelin wrote: > The pager configuration needs to be read early, possibly before > discovering any .git/ directory. > > Let's not hide this function in pager.c, but make it available to other > callers. > [...] > + * Note that this is a r

[PATCH v2 5/9] Make read_early_config() reusable

2017-03-02 Thread Johannes Schindelin
The pager configuration needs to be read early, possibly before discovering any .git/ directory. Let's not hide this function in pager.c, but make it available to other callers. Signed-off-by: Johannes Schindelin --- cache.h | 1 + config.c | 31 +++ pager.c | 31