]> git.scottworley.com Git - pinch/blobdiff - pinch.py
Support "log.showSignature = true"
[pinch] / pinch.py
index b76131399f6ee9d78188305a739e25c0aebf1b52..4c8a51fe45472d3e8c5fba412da7c9df6ae46286 100644 (file)
--- 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'')
@@ -602,4 +603,5 @@ def main() -> None:
     args.func(args)
 
 
-main()
+if __name__ == '__main__':
+    main()