From 5da205387abf6b34b4097f9acd49c9e1504e9fd2 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 25 Mar 2024 17:54:11 +0100 Subject: [PATCH] utils/lint.sh: add more detailed error message Signed-off-by: Drew DeVault --- utils/lint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/lint.sh b/utils/lint.sh index 497fc3296..e875d72c7 100755 --- a/utils/lint.sh +++ b/utils/lint.sh @@ -2,7 +2,9 @@ signoff() { if ! git log --format='%b' HEAD^.. | grep 'Signed-off-by' >/dev/null then - echo "Missing sign-off" >&2 + echo "Missing sign-off!" >&2 + echo "Run 'git commit --amend -s' to fix" >&2 + echo "See CONTRIBUTING.md" >&2 return 1 fi }