[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pre-push signature hook error reporting [was Re: [PATCH v6] gnu: pyt
From: |
Leo Famulari |
Subject: |
Re: pre-push signature hook error reporting [was Re: [PATCH v6] gnu: python-sphinx: Update to 1.4.8.] |
Date: |
Tue, 17 Jan 2017 14:39:02 -0500 |
User-agent: |
Mutt/1.7.2 (2016-11-26) |
On Tue, Jan 17, 2017 at 03:55:42PM +0100, Hartmut Goebel wrote:
> Am 17.01.2017 um 04:14 schrieb Leo Famulari:
> > with `git verify-commit $(git rev-list HEAD)`. This is what the pre-push
>
> As far as I understand the example hook, it would be possible to do
> something like
>
> git verify-commit $(git rev-list $remote_sha..$local_sha)
>
> this would only verify the commits which are going to be pushed.
I'm sorry that I was unclear.
If you read the hook, you'll see that it does what you suggest. I chose
to check the entire history as a benchmark.