From: Andy Parkins Date: Thu, 08 Mar 2007 10:04:30 GMT Subject: Re: Git push failure with update hook success Message-ID: <200703081004.32666.andyparkins@gmail.com> In-Reply-To: <20070308092809.GE30289@spearce.org> 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. Andy -- Dr Andy Parkins, M Eng (hons), MIET andyparkins@gmail.com