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