Re: [PATCH v2 0/6] Split .git/config in multiple worktree setup
- From
Max Kirillov <max@max630.net>
- Date
- Jan 11, 2016, 22:43 UTC
- Message-ID
- <20160111224350.GA10955@wheezy.local>
- In-Reply-To
- <1451186079-6119-1-git-send-email-pclouds@gmail.com>
Hi.
On Sun, Dec 27, 2015 at 10:14:33AM +0700, Nguyễn Thái Ngọc Duy wrote:
> Upgrade support is manual (for now). When a new worktree is added, we > can bump from version 0 (i.e. extensions.worktree is missing) to 1. > But that's it. We can't safely bump 1 to 2 automatically.
Maybe, bumping should happen only if there is no worktree so far. If there is already, then worktree left to be 0 or whatever it is. Then it can be bumped directly to the last supported version.
Otherwise sounds ok. I have checked how it works and did not read the code carefully, since you it's not ready yet.
-- Max