git/repository: Disable signatures when grepping for commits
authorGuido Günther <agx@sigxcpu.org>
Mon, 16 May 2022 09:23:19 +0000 (11:23 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 16 May 2022 09:23:19 +0000 (11:23 +0200)
Otherwise get the signature back as well.

Thanks: наб for the patch

Closes: #1010370
gbp/git/repository.py

index 48d005333a46a9336af1b0db2dc1a18101599a59..176be9bf4a738580d74cb00bb25b445e4e9421f5 100644 (file)
@@ -1666,6 +1666,7 @@ class GitRepository(object):
         @type since: C{str}
         """
         args = GitArgs('--pretty=format:%H')
+        args.add("--no-show-signature")
         args.add_false(merges, '--no-merges')
         args.add('--grep=%s' % regex)
         args.add_true(since, since)