Re: Git push failure with update hook success
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Mar 8, 2007, 10:04 UTC
- 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:
Show 7 quoted lines
> 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.
Andy
-- Dr Andy Parkins, M Eng (hons), MIET andyparkins@gmail.com