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

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
Previous: Sitaram ChamartyNext: Sitaram Chamarty
Message 2 of 3 in “hooks/post-update execs git-update-server-info”
  1. Sitaram ChamartyDec 15, 2008
  2. Jakub NarebskiDec 15, 2008
  3. Sitaram ChamartyDec 16, 2008

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.