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

Re: [PATCH] update-hook: remove all functionality that should be in hooks/post-receive

From
Theodore Tso <tytso@mit.edu>
Date
Mar 24, 2007, 10:26 UTC
Message-ID
<20070324102652.GA15474@thunk.org>
In-Reply-To
<200703240814.35525.andyparkins@gmail.com>
On Sat, Mar 24, 2007 at 08:14:31AM +0000, Andy Parkins wrote:
> So: ideally, what /I/ would like is that git distributes the script in a 
> standard location like /usr/share/doc/git/contrib/post-receive-emailer 
> with the execute bit already set; that can be easily linked to or 
> called from the actual post-receive hook.

I wonder if this is a good idea to do for all or most of the template scripts, so that they can get automatically updated when git is updated, instead of having the problem we had before where the hook script got updated to match changes in git, but ancient repositories would still have the old script.

						- Ted
Previous: Andy ParkinsNext: Junio C Hamano
Message 6 of 15 in “update-hook: remove all functionality that should be in hooks/post-receive”
  1. update-hook: remove all functionality that should be in hooks/post-receiveAndy Parkins, Mar 23, 2007
  2. Junio C HamanoMar 24, 2007
  3. Linus TorvaldsMar 24, 2007
  4. Shawn O. PearceMar 24, 2007
  5. Andy ParkinsMar 24, 2007
  6. Theodore TsoMar 24, 2007
  7. Junio C HamanoMar 24, 2007
  8. Andy ParkinsMar 24, 2007
  9. Theodore TsoMar 24, 2007
  10. Francis MoreauMar 24, 2007
  11. Andy ParkinsMar 24, 2007
  12. Francis MoreauMar 24, 2007
  13. Andy ParkinsMar 25, 2007
  14. Shawn O. PearceMar 25, 2007
  15. Francis MoreauMar 25, 2007

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.