git/templates
Andreas Ericsson 8a3ee7c314 update-hook: Major overhaul (handling tags, mainly).
This is the update hook we use in all our git-repos.

It has some improvements over the original version, namely:
* Don't send every commit since dawn of time when adding a new tag.
* When updating an annotated tag, just send the diffs since the last tag.
* Add diffstat output for 'normal' commits (top) and annotated tags (bottom).
* Block un-annotated tags in shared repos.

I'm a bit uncertain about that last one, but it demonstrates how to
disallow updates of a ref which we use, so I kept it.

Note that git-describe is needed for the "changes since last annotated tag"
thing to work.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-01-24 17:27:33 -08:00
..
.gitignore Add new programs and stamp file to .gitignore. 2005-10-14 17:13:49 -07:00
branches-- Redo the templates generation and installation. 2005-08-06 13:49:26 -07:00
hooks--applypatch-msg Add hooks to tools/git-applypatch. 2005-08-19 16:23:31 -07:00
hooks--commit-msg Big tool rename. 2005-09-07 17:45:20 -07:00
hooks--post-commit Add commit hook and make the verification customizable. 2005-08-19 16:23:31 -07:00
hooks--post-update Install sample hooks 2005-08-03 16:27:38 -07:00
hooks--pre-applypatch Add hooks to tools/git-applypatch. 2005-08-19 16:23:31 -07:00
hooks--pre-commit Big tool rename. 2005-09-07 17:45:20 -07:00
hooks--update update-hook: Major overhaul (handling tags, mainly). 2006-01-24 17:27:33 -08:00
info--exclude Redo the templates generation and installation. 2005-08-06 13:49:26 -07:00
Makefile Clean build annoyance. 2005-11-08 08:58:52 -08:00
remotes-- [PATCH] Use .git/remote/origin, not .git/branches/origin. 2005-08-24 16:50:52 -07:00
this--description Redo the templates generation and installation. 2005-08-06 13:49:26 -07:00