From: Junio C Hamano Date: Tue, 22 Apr 2008 00:09:44 GMT Subject: Re: [PATCH 4/8] Add a function to set a non-default work tree Message-ID: <7v3apeagxj.fsf@gitster.siamese.dyndns.org> In-Reply-To: Daniel Barkalow writes: > On Sat, 19 Apr 2008, Junio C Hamano wrote: > ... >> How should the setting of new work tree from sideways using this interface >> interact with bareness of the repository? > > I'm only using it before any initialization and when I'm going to force > the repository (which doesn't even exist yet; I haven't set git_dir let > alone created it, let alone looked at its configuration) to be bare, so I > hadn't considered that. That is not quite an explanation that builds confidence in a patch that adds a generic-sounding helper function that could be called by later callers. Doesn't it have a very tempting name for people to call?