{"thread":{"id":"16737","subject":"hooks/post-update execs git-update-server-info","startedAt":"2008-12-15T16:18:30Z","lastAt":"2008-12-16T01:27:24Z","messageCount":3,"participants":["Sitaram Chamarty","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"97970","messageId":"gi600m$tts$2@ger.gmane.org","threadId":"16737","inReplyTo":null,"subject":"hooks/post-update execs git-update-server-info","fromName":"Sitaram Chamarty","fromEmail":"sitaramc@gmail.com","sentAt":"2008-12-15T16:18:30Z","receivedAt":"2008-12-15T16:18:30Z","isPatch":false,"sender":{"key":"sitaramc@gmail.com","avatar":"https://avatars.githubusercontent.com/u/43316?v=4"},"body":"shouldn't .git/hooks/post-update contain \"exec git\nupdate-server-info\" (note the space not hyphen) instead of\n\"exec git-update-server-info\"?\n\nEither I am horribly confused or HTTP pulls have not been\nworking on post 1.6 gits and no one has noticed till now :-)\n"},{"id":"97978","messageId":"m3zlixcqrb.fsf@localhost.localdomain","threadId":"16737","inReplyTo":"gi600m$tts$2@ger.gmane.org","subject":"Re: hooks/post-update execs git-update-server-info","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2008-12-15T17:06:20Z","receivedAt":"2008-12-15T17:06:20Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Sitaram Chamarty <sitaramc@gmail.com> writes:\n\n> shouldn't .git/hooks/post-update contain \"exec git\n> update-server-info\" (note the space not hyphen) instead of\n> \"exec git-update-server-info\"?\n> \n> Either I am horribly confused or HTTP pulls have not been\n> working on post 1.6 gits and no one has noticed till now :-)\n\nIf I understand correctly hooks run with GIT_EXEC_PATH prepended to\nPATH, so everything should work; and it has to work to not force users\nto upgrade their (perhaps customized) hooks after upgrading git.\n\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"98023","messageId":"slrngke0vs.9c3.sitaramc@atcmail.atc.tcs.com","threadId":"16737","inReplyTo":"m3zlixcqrb.fsf@localhost.localdomain","subject":"Re: hooks/post-update execs git-update-server-info","fromName":"Sitaram Chamarty","fromEmail":"sitaramc@gmail.com","sentAt":"2008-12-16T01:27:24Z","receivedAt":"2008-12-16T01:27:24Z","isPatch":false,"sender":{"key":"sitaramc@gmail.com","avatar":"https://avatars.githubusercontent.com/u/43316?v=4"},"body":"On 2008-12-15, Jakub Narebski <jnareb@gmail.com> wrote:\n> Sitaram Chamarty <sitaramc@gmail.com> writes:\n\n>> shouldn't .git/hooks/post-update contain \"exec git\n>> update-server-info\" (note the space not hyphen) instead of\n\n> If I understand correctly hooks run with GIT_EXEC_PATH prepended to\n> PATH, so everything should work; and it has to work to not force users\n\nyou're right -- it does.  There was something else wrong in\nmy quick-and-dirty testing that caused me to jump to the\nwrong conclusion; sorry for the noise!\n"}]}