Re: [PATCH v2 1/4] git: read local config in --list-cmds

2019-03-18 Thread Duy Nguyen
On Mon, Mar 18, 2019 at 1:16 AM Todd Zullinger wrote: > > From: Jeff King > > Normally code that is checking config before we've decided to do > setup_git_directory() would use read_early_config(), which uses > discover_git_directory() to tentatively see if we're in a repo, > and if so to add it

[PATCH v2 1/4] git: read local config in --list-cmds

2019-03-17 Thread Todd Zullinger
From: Jeff King Normally code that is checking config before we've decided to do setup_git_directory() would use read_early_config(), which uses discover_git_directory() to tentatively see if we're in a repo, and if so to add it to the config sequence. But list_cmds() uses the caching configset