Ignore no-op changes in paranoid update hook
authorShawn O. Pearce <spearce@spearce.org>
Mon, 26 May 2008 02:18:05 +0000 (22:18 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 May 2008 03:29:30 +0000 (20:29 -0700)
commitfa620f1ac8191fa72e54b8b6acc3e424ecfae26e
treec402aa188b9154f8da63c7e4990023d72ac9606d
parent50b7b2ee99cb98265f847d91159cb3215c6f2379
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>
contrib/hooks/update-paranoid