Skip to content

Commit f6f1788

Browse files
g-papegitster
authored andcommitted
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 http://bugs.debian.org/640949 Signed-off-by: Gerrit Pape <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 614583f commit f6f1788

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/hooks/post-receive-email

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# will have put this somewhere standard. You should make this script
1212
# executable then link to it in the repository you would like to use it in.
1313
# For example, on debian the hook is stored in
14-
# /usr/share/doc/git-core/contrib/hooks/post-receive-email:
14+
# /usr/share/git-core/contrib/hooks/post-receive-email:
1515
#
1616
# chmod a+x post-receive-email
1717
# cd /path/to/your/repository.git
18-
# ln -sf /usr/share/doc/git-core/contrib/hooks/post-receive-email hooks/post-receive
18+
# ln -sf /usr/share/git-core/contrib/hooks/post-receive-email hooks/post-receive
1919
#
2020
# This hook script assumes it is enabled on the central repository of a
2121
# project, with all users pushing only to it and not between each other. It

0 commit comments

Comments
 (0)