Code

[PATCH] Fixed/Extended example for update hook
authorJosef Weidendorfer <Josef.Weidendorfer@gmx.de>
Sat, 13 Aug 2005 20:39:41 +0000 (22:39 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 15 Aug 2005 10:00:21 +0000 (03:00 -0700)
commitc65a9470fbaa57b9b815addde51ad22648f6d353
treebc97e6b020be43446d7b04753d90a3fc9721bfb4
parentaae4f42c45704986210ea2a30bd31afba1008275
[PATCH] Fixed/Extended example for update hook

Add sample code to distinguish --force rebased head and simple
fast-forward.  At the same time fixes a real bug; the "new ref"
path was using a wrong parameter.

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