path: root/contrib/hooks
diff options
authorGerrit Pape <>2011-09-26 12:58:35 (GMT)
committerJunio C Hamano <>2011-09-26 23:39:34 (GMT)
commitf6f17885ba2f1ff6f18118a0660f8f662cdb9ffb (patch)
tree5ac530134797185977b1c73ee82f60b4855ee1f0 /contrib/hooks
parent614583fa233afd8f7fb8ed33aa409054ee21e1c4 (diff)
contrib/hooks: adapt comment about Debian install location for contrib hooks
Placing the contrib hooks into /usr/share/doc/ wasn't a good idea in the first place. According to the Debian policy they should be located in /usr/share/git-core/, so let's put them there. Thanks to Bill Allombert for reporting this through Signed-off-by: Gerrit Pape <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'contrib/hooks')
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email
index fa6d41a..ba077c1 100755
--- a/contrib/hooks/post-receive-email
+++ b/contrib/hooks/post-receive-email
@@ -11,11 +11,11 @@
# will have put this somewhere standard. You should make this script
# executable then link to it in the repository you would like to use it in.
# For example, on debian the hook is stored in
-# /usr/share/doc/git-core/contrib/hooks/post-receive-email:
+# /usr/share/git-core/contrib/hooks/post-receive-email:
# chmod a+x post-receive-email
# cd /path/to/your/repository.git
-# ln -sf /usr/share/doc/git-core/contrib/hooks/post-receive-email hooks/post-receive
+# ln -sf /usr/share/git-core/contrib/hooks/post-receive-email hooks/post-receive
# This hook script assumes it is enabled on the central repository of a
# project, with all users pushing only to it and not between each other. It