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> | 2007-12-02 00:04:48 +0100 |
| commit | 519e20b4112f627c292a8eebe2d6c21422ef53e3 (patch) | |
| tree | c00c05aeb9a9e3b8cf321b716e428578adad4f1b /git-check-commit-msg | |
| parent | 9e51706711de4b036ec47bc1b171bccee7f40028 (diff) | |
Error message tuning
Diffstat (limited to 'git-check-commit-msg')
| -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 } |
