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

Re: [PATCH] Use "git <command>" instead of dashed form in sample hooks

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 15, 2009, 17:10 UTC
Message-ID
<alpine.DEB.1.00.0902151807010.10279@pacific.mpi-cbg.de>
In-Reply-To
<1234717348-20228-1-git-send-email-tlikonen@iki.fi>
Hi,
On Sun, 15 Feb 2009, Teemu Likonen wrote:
> Sample hook files used deprecated dashed form "git-<command>" which are
> not installed in PATH anymore. This fixes them to use "git <command>"
> form instead.

AFAIR, GIT_EXEC_PATH will be added to the PATH before calling the hook. So this is not the fix you claim it to be.

But I agree that it is a nice cleanup to use undashed commands in the hooks (if only to make testing easier).

Also, I see that only 9 of your fixes touch code, the rest touches comments.

Ciao, Dscho

Previous: Teemu LikonenNext: Teemu Likonen
Message 2 of 3 in “Use "git <command>" instead of dashed form in sample hooks”
  1. Use "git <command>" instead of dashed form in sample hooksTeemu Likonen, Feb 15, 2009
  2. Johannes SchindelinFeb 15, 2009
  3. Teemu LikonenFeb 15, 2009

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.