summaryrefslogtreecommitdiff
path: root/git-verify-tag.sh
diff options
context:
space:
mode:
authorAndreas Ericsson <ae@op5.se>2006-01-04 16:17:59 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-01-25 01:27:33 (GMT)
commit8a3ee7c31469b5418a556a87cbac74509ded1cac (patch)
tree8ddf10c9b138192e4369db735248cde6f91a11e7 /git-verify-tag.sh
parentdcc6e28f70574bf3756752f114b5119c5cb43375 (diff)
downloadgit-8a3ee7c31469b5418a556a87cbac74509ded1cac.zip
git-8a3ee7c31469b5418a556a87cbac74509ded1cac.tar.gz
git-8a3ee7c31469b5418a556a87cbac74509ded1cac.tar.bz2
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>
Diffstat (limited to 'git-verify-tag.sh')
0 files changed, 0 insertions, 0 deletions