Re: [PATCH v3] config.c: split some variables to $GIT_DIR/config.worktree
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Mar 31, 2015, 12:17 UTC
- Message-ID
- <CACsJy8DQZmySvakBnjgEX2rPb4ndYo52XSoCeNHosh2VNaRFCg@mail.gmail.com>
- 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 <pclouds@gmail.com> 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