From: Nguyen Thai Ngoc Duy Date: Fri, 06 Jan 2012 15:07:09 GMT Subject: Re: [PATCH] Submodules always use a relative path to gitdir Message-ID: In-Reply-To: On Fri, Jan 6, 2012 at 9:26 PM, Phil Hord wrote: > Do you see any _problem_ with making core.worktree a relative > directory in the specific case of git submodules? Not a problem per se, but you should look at the comment at the top of t1510 to see where it is relative to. Two interesting rules: 2. .git file is relative to parent directory. .git file is basically symlink in disguise. The directory where .git file points to will become new git_dir. 3. core.worktree is relative to git_dir. -- Duy