Re: hooks/post-update execs git-update-server-info
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Dec 15, 2008, 17:06 UTC
- Message-ID
- <m3zlixcqrb.fsf@localhost.localdomain>
- In-Reply-To
- <gi600m$tts$2@ger.gmane.org>
Sitaram Chamarty <sitaramc@gmail.com> writes:
Show 6 quoted lines
> shouldn't .git/hooks/post-update contain "exec git > update-server-info" (note the space not hyphen) instead of > "exec git-update-server-info"? > > Either I am horribly confused or HTTP pulls have not been > working on post 1.6 gits and no one has noticed till now :-)
If I understand correctly hooks run with GIT_EXEC_PATH prepended to PATH, so everything should work; and it has to work to not force users to upgrade their (perhaps customized) hooks after upgrading git.
-- Jakub Narebski Poland ShadeHawk on #git