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

dco: improve error message

The former message was unclear to a new contributor who does not know DCO

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2025-04-12 23:15:07 +09:00
parent 7b60e35b05
commit 9e62150976
No known key found for this signature in database
GPG key ID: 49524C6F9F638F1A

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"