From: Shawn O. Pearce Date: Thu, 08 Mar 2007 10:06:55 GMT Subject: Re: Git push failure with update hook success Message-ID: <20070308100655.GG30289@spearce.org> In-Reply-To: <200703081004.32666.andyparkins@gmail.com> Andy Parkins wrote: > On Thursday 2007 March 08 09:28, Shawn O. Pearce wrote: > > Andy Parkins wrote: > > > Without adding some nasty switches to git-rev-list > > > (like --all-except-this-branch), I can't see how the post-update hook > > > could ever send emails with the necessary amount of detail. > > > > Which is why `master` now has support for a post-receive hook, > > that has the magic three parameters. ;-) > > It still won't work - what about the > > git-rev-list --not --all > > Problem? > > By the time that hook runs the master ref (for example) has changed, > so "--not --all" includes the new revisions, and you get no output. Dammit. That's so obvious. And I missed it. I got nothing at this hour of the morning. -- Shawn.