1
0
Fork 0
mirror of https://github.com/vbatts/git-validation.git synced 2024-11-25 09:35:40 +00:00

Merge pull request #65 from vbatts/no_signatures

git: explicitly don't validate the output of gpg signatures
This commit is contained in:
Vincent Batts 2023-10-23 09:25:42 -04:00 committed by GitHub
commit 679e5cad8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ func checkRevList(commitrange string) (string, error) {
// no issues, return now // no issues, return now
return commitrange, nil return commitrange, nil
} }
cmdArgs = []string{"git", "log", "--pretty=oneline"} cmdArgs = []string{"git", "log", "--pretty=oneline", "--no-show-signature"}
if debug() { if debug() {
logrus.Infof("[git] cmd: %q", strings.Join(cmdArgs, " ")) logrus.Infof("[git] cmd: %q", strings.Join(cmdArgs, " "))
} }