diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-12-02 00:04:48 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-07-19 00:40:27 +0200 |
commit | 7134ae0e97f9737a51c222de49be9a8d6d34401a (patch) | |
tree | b77a0b5bd28e1a4bcc3cb8fc8a228c8c448cd2f2 | |
parent | 31fa8a163e4b419f10326cc1dd21285cce7ce6af (diff) | |
download | ndim-git-utils-7134ae0e97f9737a51c222de49be9a8d6d34401a.tar.gz ndim-git-utils-7134ae0e97f9737a51c222de49be9a8d6d34401a.tar.xz ndim-git-utils-7134ae0e97f9737a51c222de49be9a8d6d34401a.zip |
Error message tuning
-rwxr-xr-x | git-check-commit-msg/git-check-commit-msg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-check-commit-msg/git-check-commit-msg b/git-check-commit-msg/git-check-commit-msg index 4ef9e9a..060fced 100755 --- a/git-check-commit-msg/git-check-commit-msg +++ b/git-check-commit-msg/git-check-commit-msg @@ -1,8 +1,9 @@ #!/bin/sh msgfile="$1" + test -s "$msgfile" || { - echo >&2 "Commit message must not be empty" + echo >&2 "Commit message must NOT be empty." exit 1 } |