author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 26 May 2008 02:18:05 +0000 (22:18 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 26 May 2008 03:29:30 +0000 (20:29 -0700) | ||
commit | fa620f1ac8191fa72e54b8b6acc3e424ecfae26e | |
tree | c402aa188b9154f8da63c7e4990023d72ac9606d | tree | snapshot |
parent | 50b7b2ee99cb98265f847d91159cb3215c6f2379 | commit | diff |
Ignore no-op changes in paranoid update hook
If the hook gets invoked with identical old and new ids there
is no change taking place. We probably should not have been
called, but instead of failing silently allow the no-op.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If the hook gets invoked with identical old and new ids there
is no change taking place. We probably should not have been
called, but instead of failing silently allow the no-op.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hooks/update-paranoid | diff | blob | history |