Re: [PATCH/RFC 5/4] Redefine core.bare in multiple working tree setting

2017-01-19 Thread Duy Nguyen
Thanks. I'll shelve this for now, maybe sleep on it for a while. The series is complete without this patch by the way, if you want to pick it up. On Fri, Jan 13, 2017 at 6:08 AM, Junio C Hamano wrote: > Nguyễn Thái Ngọc Duy writes: > >> With per-worktree

Re: [PATCH/RFC 5/4] Redefine core.bare in multiple working tree setting

2017-01-12 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > With per-worktree configuration in place, core.bare is moved to main > worktree's private config file. But it does not really make sense > because this is about _repository_. Instead we could leave core.bare in > the per-repo config and

[PATCH/RFC 5/4] Redefine core.bare in multiple working tree setting

2017-01-10 Thread Nguyễn Thái Ngọc Duy
When core.bare was added, time was simpler, we only had one worktree associated to one repository. The situation gets a bit complicated when multiple worktrees are added. If core.bare is set in the per-repo config file, should all worktrees see this variable? Since core.bare affects