From: Duy Nguyen Date: Tue, 31 Mar 2015 12:17:10 GMT Subject: Re: [PATCH v3] config.c: split some variables to $GIT_DIR/config.worktree Message-ID: In-Reply-To: <1427804079-13061-1-git-send-email-pclouds@gmail.com> On Tue, Mar 31, 2015 at 7:14 PM, Nguyễn Thái Ngọc Duy wrote: > The general principle is like in the last mail: .git/config is for > both shared and private keys of main worktree (i.e. nothing is > changed from today). .git/worktrees/xx/config.worktree is for > private keys only (and private keys in .git/config are ignored) When I put it this way, I realize that .git/worktrees/xx/config.worktree can simply be .git/worktrees/xx/config. No ".worktree". Looks nice (or it's just a source of more confusion later) -- Duy