From: Jeff King Date: Thu, 28 Aug 2008 23:41:51 GMT Subject: git-* in test scripts (was On deprecating "git-foo" for builtins) Message-ID: <20080828234151.GG29609@coredump.intra.peff.net> In-Reply-To: <7vmyiwd8ot.fsf@gitster.siamese.dyndns.org> On Thu, Aug 28, 2008 at 04:24:50PM -0700, Junio C Hamano wrote: > Test scripts are executed in a special environment whose GIT_EXEC_PATH > points at the top of the build tree, where all git-foo lives. I am not sure how GIT_EXEC_PATH is relevant. We put the git top-level directory in the PATH, which is why "git-foo" works at all in the test scripts. But the install by default does _not_ put those commands in the PATH. So the test scripts serve as a poor example of how to use git. The commands contained within them would not run in an ordinary git installation. -Peff