From: Josh England Date: Fri, 07 Sep 2007 22:34:58 GMT Subject: Re: how to access working tree from .git dir? Message-ID: <1189204498.15140.4.camel@beauty> In-Reply-To: <7vveam15w9.fsf@gitster.siamese.dyndns.org> On Fri, 2007-09-07 at 15:12 -0700, Junio C Hamano wrote: > Josh England writes: > > > OK. Fair enough. Maybe it would be good to note in git-sh-setup.sh that > > many of the supplied functions will not work when called from within > > $GIT_DIR. > > Sorry, "supplied functions"? Care to clarify with a patch? I guess really just the cd_to_topdir() function. It will silently fail when run from within $GIT_DIR. -JE