Re: git-* in hook scripts
- From
Eli Barzilay <eli@barzilay.org>
- Date
- Feb 25, 2010, 07:15 UTC
- Message-ID
- <m38wahwzuu.fsf@winooski.ccs.neu.edu>
- In-Reply-To
- <20100223235941.GG12429@genesis.frugalware.org>
Miklos Vajna <vmiklos@frugalware.org> writes:
Show 6 quoted lines
> On Tue, Feb 23, 2010 at 11:33:36AM -0500, Eli Barzilay <eli@barzilay.org> wrote: >> There are several sample hook scripts that use `git-*' -- should >> these use `git *' instead? > > No need to do so, `git --exec-path` is already in PATH when those > scripts are invoked.
To make this a little more concrete, I was thinking about the fact that `git cmd' can be different from `git-cmd' if I add a file with the second name for one of the builtin commands.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!