summaryrefslogtreecommitdiff
path: root/templates/hooks--update
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] Fixed/Extended example for update hookJosef Weidendorfer2005-08-151-3/+9
| | | | | | | | 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>
* Install sample hooksJunio C Hamano2005-08-031-0/+21
A template mechanism to populate newly initialized repository with default set of files is introduced. Use it to ship example hooks that can be used for update and post update checks, as Josef Weidendorfer suggests. Signed-off-by: Junio C Hamano <junkio@cox.net>