From 88af5903f7d0c6490a236167b6e07d831fc67a62 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Fri, 12 Jun 2020 02:16:39 -0700 Subject: [PATCH 1/1] Support "log.showSignature = true" Don't let "log.showSignature = true" in global git config cause signature check output to appear in the release name. Bad excuses for not including a test: * Would have to add GPG as a dependency. * Generating a GPG key during the test would be slow. * Making a local "global" git config in the test would be troublesome. --- pinch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pinch.py b/pinch.py index 5f25015..4c8a51f 100644 --- a/pinch.py +++ b/pinch.py @@ -482,6 +482,7 @@ def git_revision_name(v: Verification, channel: Channel) -> str: '-n1', '--format=%ct-%h', '--abbrev=11', + '--no-show-signature', channel.git_revision], stdout=subprocess.PIPE) v.result(process.returncode == 0 and process.stdout != b'') -- 2.44.1