Skip to content

Commit a8d4555

Browse files
authored
Merge pull request #68 from AkihiroSuda/dco
dco: improve error message
2 parents 7b60e35 + 9e62150 commit a8d4555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/dco/dco.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func ValidateDCO(r validate.Rule, c git.CommitEntry) (vr validate.Result) {
4141
}
4242
if !hasValid {
4343
vr.Pass = false
44-
vr.Msg = "does not have a valid DCO"
44+
vr.Msg = "does not have a valid Developer Certificate of Origin (DCO, https://developercertificate.org); run `git commit --amend --signoff` to sign DCO"
4545
} else {
4646
vr.Pass = true
4747
vr.Msg = "has a valid DCO"

0 commit comments

Comments
 (0)