From 6c44f5ae60270f1dcba3b96cf56e07477d7d34b9 Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Fri, 10 Aug 2007 18:55:35 +0200 Subject: [PATCH] make the post-commit hook self-containing --- 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 c61bf3a2b..e51ca26f7 100755 --- a/admin/git_hooks/post-commit +++ b/admin/git_hooks/post-commit @@ -7,6 +7,6 @@ # see wiki/index.html#GitNotes%20GitAliases for information -git sign "$(git config user.email)/$(git-symbolic-ref HEAD | cut -d/ -f 3-)_signature" +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