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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:07:22

Duy Nguyen [off-list ref] writes:
If a variable _must_ be per-worktree or something will break, then it
should belong to the builtin list (so the user is less likely to mess
with it). If it may or may not be per-worktree, depending on one's
preference, then we can keep this in info/config.worktree. I made the
builtin list for that reason (user not breaking stuff accidentally)
and another one, which is upgrade issue. Suppose you introduce a new
per-worktree variable in the new git version. If it's in the builtin
list, we don't have to update every repo's info/config,worktree.
I agree with your reasoning to have built-in set of files that are
per-worktree. I actually prefer *not* to have any configurability
to avoid confusion between users.

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

From: Max Kirillov <hidden>
Date: 2016-06-15 23:07:22

On Thu, Dec 03, 2015 at 11:52:43AM -0800, Junio C Hamano wrote:
I actually prefer *not* to have any configurability
to avoid confusion between users.
This could be an approach. But because of upgrade issues
which I described in the other response it looks like this
decision is not easy to change in a later version. So the
list should be decided here and now for each existing
variable, and later for any new one, and preferable never
changed after that.

-- 
Max
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help