Re: [PATCH v3 0/6] Split .git/config in multiple worktree setup

2016-01-27 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > For any worktree, the new file .git/common/config is read first, then > either .git/config or .git/worktrees/xxx/config is read after. There's > no special per-worktree var list any more. Which is great. You want to > add per-worktree config vars, use "git config -

[PATCH v3 0/6] Split .git/config in multiple worktree setup

2016-01-26 Thread Nguyễn Thái Ngọc Duy
I've changed my mind. So v3 is not a polished v2. It's quite different. And I hope it's good different. In v2, .git/config contains both shared part and the per-worktree part (for main worktree). It's ugly, slow and hard to work with. v3 adds a completly new config file for sharing. ".git/config"