author | Andy Parkins <andyparkins@gmail.com> | |
Thu, 26 Apr 2007 21:36:24 +0000 (22:36 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 27 Apr 2007 03:59:49 +0000 (20:59 -0700) | ||
commit | 024e5b31af6f06d39542ab1a44de358d7734388b | |
tree | 77847ad5d6b88701f40d583f75173c39ca33d261 | tree | snapshot |
parent | 8e404f82abdfd912ad43c6fae7c218ff75a5d122 | commit | diff |
post-receive-email example hook: detect rewind-only updates and output sensible message
Sometimes a non-fast-forward update doesn't add new commits, it merely
removes old commits. This patch adds support for detecting that and
outputting a more correct message.
Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Sometimes a non-fast-forward update doesn't add new commits, it merely
removes old commits. This patch adds support for detecting that and
outputting a more correct message.
Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/hooks/post-receive-email | diff | blob | history |