Code

sample update-hook: sanely handle a new branch head.
authorJunio C Hamano <junkio@cox.net>
Wed, 25 Jan 2006 01:37:01 +0000 (17:37 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 25 Jan 2006 01:38:06 +0000 (17:38 -0800)
commit41e79c955969c916c0691c31422b5004db7e4025
treef682b441030cfdf97796984c5f104b5ac74a7b23
parent8a3ee7c31469b5418a556a87cbac74509ded1cac
sample update-hook: sanely handle a new branch head.

Instead of showing all the history since the beginning of time
leading to the the branch head, show only the changes this new
branch brings to the world.

This originally came from Linus and tested by Andreas Ericsson.

Signed-off-by: Junio C Hamano <junkio@cox.net>
templates/hooks--update