[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bad signature on commit 6a34f4ccc8a5d (gnu: python-prompt-toolkit: U
Re: Bad signature on commit 6a34f4ccc8a5d (gnu: python-prompt-toolkit: Update to 1.0.9.)
Thu, 29 Dec 2016 02:38:09 -0500
On Thu, Dec 29, 2016 at 01:44:59AM -0500, Leo Famulari wrote:
> Here's a pre-push Git hook that should prevent unsigned commits from
> being pushed to any remote. I'd like to improve it to be applied
> selectively per-remote.
The hook will only apply when pushing to Savannah if you put this test
at the beginning of the hook:
case "$2" in
Commit signatures will be verified before pushing to Savannah, but it
doesn't interfere when pushing to another repository. I think this is
right balance between safety and convenience.
If people think the hook is correct, we could recommend it in HACKING.
Oops! It should all work with #!/bin/sh.
Description: PGP signature