From: Eric Sunshine Date: Thu, 27 Dec 2018 20:36:55 GMT Subject: Re: [PATCH 2/6] worktree.c: add get_worktree_config() Message-ID: In-Reply-To: <20181227155611.10585-3-pclouds@gmail.com> On Thu, Dec 27, 2018 at 10:56 AM Nguyễn Thái Ngọc Duy wrote: > "git config --worktree" can write to the write file whether s/write file/right file/ > extensions.worktreeConfig is enabled or not. In order to do the same > using config API, we need to determine the right file to write to. Add > this function for that purpose. This is the basis for the coming > repo_config_set_worktree() > > Signed-off-by: Nguyễn Thái Ngọc Duy