Re: [PATCH v2 0/6] Split .git/config in multiple worktree setup
From: Max Kirillov <hidden>
Date: 2016-06-15 23:07:42
From: Max Kirillov <hidden>
Date: 2016-06-15 23:07:42
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