Skip to content

Commit 9e62150

Browse files
committed
dco: improve error message
The former message was unclear to a new contributor who does not know DCO Signed-off-by: Akihiro Suda <[email protected]>
1 parent 7b60e35 commit 9e62150

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)