On Thu, Dec 27, 2018 at 10:56 AM Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> 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 <pclouds@xxxxxxxxx>