Re: [PATCH] contrib/hooks: avoid requiring root access in usage instructions

2012-10-20 Thread Jonathan Nieder
Junio C Hamano wrote: > We already encourage casting-in-stone a particular version of the > sample hook when a new repository is created by copying them from > the template directory. This prevents from surprising users when an > updated version of Git changes the behaviour of these samples. Eve

Re: [PATCH] contrib/hooks: avoid requiring root access in usage instructions

2012-10-19 Thread Junio C Hamano
Jonathan Nieder writes: > Comments in hooks/post-receive-email suggest: > > For example, on debian the hook is stored in > /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/git-core/contrib/hooks/po

[PATCH] contrib/hooks: avoid requiring root access in usage instructions

2012-10-19 Thread Jonathan Nieder
Comments in hooks/post-receive-email suggest: For example, on debian the hook is stored in /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/git-core/contrib/hooks/post-receive-email hooks/post-receive Doi