mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
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 <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
614583fa23
commit
f6f17885ba
1 changed files with 2 additions and 2 deletions
|
@ -11,11 +11,11 @@
|
||||||
# will have put this somewhere standard. You should make this script
|
# 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.
|
# executable then link to it in the repository you would like to use it in.
|
||||||
# For example, on debian the hook is stored 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
|
# chmod a+x post-receive-email
|
||||||
# cd /path/to/your/repository.git
|
# 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
|
# 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
|
# project, with all users pushing only to it and not between each other. It
|
||||||
|
|
Loading…
Reference in a new issue