git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-* in hook scripts

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 24, 2010, 00:32 UTC
Message-ID
<7vr5obxyln.fsf@alter.siamese.dyndns.org>
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.

We have been waiting until nobody remembers days we had dashes. It may be a good time to at least start thinking about updating them. v1.6.0 is one year and half old.

Previous: Miklos VajnaNext: Eli Barzilay
Message 3 of 4 in “git-* in hook scripts”
  1. Eli BarzilayFeb 23, 2010
  2. Miklos VajnaFeb 23, 2010
  3. Junio C HamanoFeb 24, 2010
  4. Eli BarzilayFeb 25, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.