From: Matthias Lederhofer Date: Sun, 18 Mar 2007 20:12:09 GMT Subject: Re: [PATCH 3/5] introduce GIT_WORK_TREE environment variable Message-ID: <20070318201209.GA1968@moooo.ath.cx> In-Reply-To: <20070317144403.GC26290@moooo.ath.cx> Matthias Lederhofer wrote: > + inside_working_tree = !prefixcmp(cwd, worktree); [..] > + inside_git_dir = !prefixcmp(cwd, gitdir); This time a real bug: the parameters have to be the other way around.