Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

git-* in test scripts (was On deprecating "git-foo" for builtins)

From: Jeff King <hidden>
Date: 2016-06-15 22:45:15

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help