From: Uwe Kleine-König Date: Wed, 28 Mar 2007 14:10:23 GMT Subject: Re: [PATCH] bisect: use update-ref to update refs Message-ID: <20070328141023.GB23378@informatik.uni-freiburg.de> In-Reply-To: <460A71A1.D1388D3@eudaptics.com> Johannes Sixt wrote: > Uwe Kleine-König wrote: > > GIT_DIR="$GIT_DIR" git-$command ... > > > > where the assignment to GIT_DIR should be superfluous? > > git-sh-setup sets GIT_DIR, but does not export it. Therefore, this > assignment is *not* superfluous (its effect is to export GIT_DIR for > this command only). ..., but why do only two invocations of git get GIT_DIR="$GIT_DIR" and the other 20+ don't? Best regards Uwe -- Uwe Kleine-König http://www.google.com/search?q=sine+of+%2830+degree%29