hooks/post-update execs git-update-server-info
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 :-)
Quoted 6 lines · Sitaram Chamarty
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.
Signature · 3 lines
Jakub Narebski Poland ShadeHawk on #git
Quoted 7 lines · Jakub Narebski
Quoted 2 lines · Sitaram Chamarty
shouldn't .git/hooks/post-update contain "exec git update-server-info" (note the space not hyphen) instead of
If I understand correctly hooks run with
GIT_EXEC_PATHprepended to PATH, so everything should work; and it has to work to not force users
you're right -- it does. There was something else wrong in my quick-and-dirty testing that caused me to jump to the wrong conclusion; sorry for the noise!