Re: [PATCH] add a 'pre-push' hook
- From
Sam Vilain <sam@vilain.net>
- Date
- Aug 19, 2008, 22:26 UTC
- Message-ID
- <48AB48A8.80904@vilain.net>
- In-Reply-To
- <20080819190832.GC17943@coredump.intra.peff.net>
Jeff King wrote:
Show 6 quoted lines
>> If the patch is acceptable, I will update the githooks doc with more >> information, but we would like this so that you could add a hook that >> runs your automated tests before a push would go through. > > I think the common wisdom has been that such tests should be done on the > _receiving_ end, since that makes a more trustworthy enforcement point.
Probably true, but if someone wants to arrange it the other way around, what harm is there in that?
Sam