mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
utils/lint.sh: add more detailed error message
Signed-off-by: Drew DeVault <sir@cmpwn.com>
This commit is contained in:
parent
0a2132f33d
commit
5da205387a
@ -2,7 +2,9 @@
|
|||||||
signoff() {
|
signoff() {
|
||||||
if ! git log --format='%b' HEAD^.. | grep 'Signed-off-by' >/dev/null
|
if ! git log --format='%b' HEAD^.. | grep 'Signed-off-by' >/dev/null
|
||||||
then
|
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
|
return 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user