author | Luben Tuikov <ltuikov@yahoo.com> | |
Sun, 13 Aug 2006 08:41:22 +0000 (01:41 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 13 Aug 2006 08:46:28 +0000 (01:46 -0700) | ||
commit | 9a1ae9ab03abaffc977421f182997f3e735e7098 | |
tree | 4baa45e6def6d83fb86a5df65006d9453e8154c1 | tree | snapshot |
parent | e77235ea38385a127d2afc969435a56d3ff2b16d | commit | diff |
sample commit-msg hook: no silent exit on duplicate Signed-off-by lines
git-commit would silently exit if duplicate Signed-off-by
lines were found. Users of git-commit would not know it,
unless they checked '$?'. This patch makes git-commit
actually print out a message that nothing was commited
since duplicate Signed-off-lines were found.
Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit would silently exit if duplicate Signed-off-by
lines were found. Users of git-commit would not know it,
unless they checked '$?'. This patch makes git-commit
actually print out a message that nothing was commited
since duplicate Signed-off-lines were found.
Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
templates/hooks--commit-msg | diff | blob | history |