From: Jay Soffian Date: Thu, 07 Feb 2008 07:13:39 GMT Subject: Re: [PATCH] allow setting GIT_WORK_TREE to "no work tree" Message-ID: <76718490802062313jdbd0e84xc9f36d703bb86c44@mail.gmail.com> In-Reply-To: <20080207051317.GA32296@sigill.intra.peff.net> On Feb 7, 2008 12:13 AM, Jeff King wrote: > > On Wed, Feb 06, 2008 at 12:59:32PM -0800, Junio C Hamano wrote: > > > > I was tempted to suggest GIT_WORK_TREE=/dev/null because that is > > what "diff" uses to mark "this does not even exist", but that > > feels dirty. > > It feels dirty to me, too. I would rather choose something that doesn't > even look like a path. I think GIT_WORK_TREE=" " is too ugly, too. Is using something like "__GIT_WORK_TREE_NOT_SET__" that terrible? j.