1
0
Fork 0
mirror of https://github.com/vbatts/git-validation.git synced 2025-04-22 14:54:39 +00:00

Merge pull request #68 from AkihiroSuda/dco

dco: improve error message
This commit is contained in:
Vincent Batts 2025-04-14 20:15:35 -04:00 committed by GitHub
commit a8d4555334
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,7 @@ func ValidateDCO(r validate.Rule, c git.CommitEntry) (vr validate.Result) {
}
if !hasValid {
vr.Pass = false
vr.Msg = "does not have a valid DCO"
vr.Msg = "does not have a valid Developer Certificate of Origin (DCO, https://developercertificate.org); run `git commit --amend --signoff` to sign DCO"
} else {
vr.Pass = true
vr.Msg = "has a valid DCO"