From fd1cada430eae3aa7e37661b0fda3687fdeceef6 Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Fri, 10 Aug 2007 22:42:38 +0200 Subject: [PATCH] only push the users tags, no foreign tags in post-commit hook --- admin/git_hooks/post-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/git_hooks/post-commit b/admin/git_hooks/post-commit index e51ca26f7..cf0dd5ec1 100755 --- a/admin/git_hooks/post-commit +++ b/admin/git_hooks/post-commit @@ -9,4 +9,4 @@ git tag -s -f -m "signature generated by $(git config user.email)" "$(git config user.email)/$(git-symbolic-ref HEAD | cut -d/ -f 3-)_signature" git push --all public -git push --tags public +git push public "refs/tags/$(git config user.email)/*"