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

Re: GIT v1.5.1-rc1

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 20, 2007, 02:55 UTC
Message-ID
<20070320025539.GA28922@spearce.org>
In-Reply-To
<7v7itcd8mk.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 17 quoted lines
> Bill Lear <rael@zopyra.com> writes:
> 
> > On Monday, March 19, 2007 at 03:53:47 (-0700) Junio C Hamano writes:
> >>...
> >>* Hooks
> >>
> >>  - The sample update hook to show how to send out notification
> >>    e-mail was updated to show only new commits that appeared in
> >>    the repository.  Earlier, it showed new commits that appeared
> >>    on the branch.
> >
> > I did not see Shawn's changes to the update hooks in here, and can't
> > recall where these stand at the moment --- will these be forthcoming?
> 
> Do you mean "[PATCH] Split sample update hook into post-receive
> hook"?  My impression was that the discussion that followed made
> its interface obsolete with later 8-patch series from Shawn.

I think that's what Bill means, and you are correct Junio, that patch is not valid anymore now that post-receive takes its data on stdin.

I was hoping Andy or one of the other folks who have worked on that hook would pick up the ball and update the hook, but I think they are stuck on the fact that you cannot use:

	git log $new --not --all

in the post-receive hook to see what commits are "new to this repository", as $new is already in --all. ;-)

That almost needs a --all-except="refs/heads/a refs/heads/b" option to rev-list. Grrrr.

-- 
Shawn.
Previous: Junio C HamanoNext: Andy Parkins
Message 10 of 25 in “Make 'make' quieter while building git”
  1. Make 'make' quieter while building gitShawn O. Pearce, Mar 6, 2007
  2. Junio C HamanoMar 6, 2007
  3. Shawn O. PearceMar 6, 2007
  4. Junio C HamanoMar 6, 2007
  5. Shawn O. PearceMar 6, 2007
  6. Short term release plansJunio C Hamano, Mar 6, 2007
  7. GIT v1.5.1-rc1Junio C Hamano, Mar 19, 2007
  8. Bill LearMar 19, 2007
  9. Junio C HamanoMar 20, 2007
  10. Shawn O. PearceMar 20, 2007
  11. Andy ParkinsMar 20, 2007
  12. Shawn O. PearceMar 20, 2007
  13. Jakub NarebskiMar 20, 2007
  14. Junio C HamanoMar 21, 2007
  15. Andy ParkinsMar 21, 2007
  16. Johannes SchindelinMar 19, 2007
  17. Junio C HamanoMar 20, 2007
  18. Johannes SchindelinMar 20, 2007
  19. Alex RiesenMar 6, 2007
  20. Johannes SchindelinMar 6, 2007
  21. Alex RiesenMar 6, 2007
  22. Johannes SchindelinMar 6, 2007
  23. Junio C HamanoMar 6, 2007
  24. Alex RiesenMar 6, 2007
  25. Shawn O. PearceMar 6, 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.