Re: Git push failure with update hook success
Andy Parkins <andyparkins@gmail.com> wrote:
Show 17 quoted lines
> On Thursday 2007 March 08 09:28, Shawn O. Pearce wrote:
> > Andy Parkins <andyparkins@gmail.com> 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.