git/contrib/hooks
Jonathan Nieder 2e820ba9bc mark contributed hooks executable
The docs in contrib/hooks/pre-auto-gc-battery suggest:

	For example, if the hook is stored in
	/usr/share/git-core/contrib/hooks/pre-auto-gc-battery:

	chmod a+x pre-auto-gc-battery
	cd /path/to/your/repository.git
	ln -sf /usr/share/git-core/contrib/hooks/pre-auto-gc-battery \
	     hooks/pre-auto-gc

Unfortunately on multi-user systems most users do not have write
access to /usr.  Better to mark the sample hooks executable in
the first place so users do not have to tweak their permissions to
use them by symlinking into .git/hooks/.

Reported-by: Olivier Berger <olivier.berger@it-sudparis.eu>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-11-25 15:01:22 -08:00
..
multimail git-multimail: an improved replacement for post-receive-email 2013-07-15 12:59:48 -07:00
post-receive-email mark contributed hooks executable 2013-11-25 15:01:22 -08:00
pre-auto-gc-battery mark contributed hooks executable 2013-11-25 15:01:22 -08:00
setgitperms.perl mark contributed hooks executable 2013-11-25 15:01:22 -08:00
update-paranoid mark contributed hooks executable 2013-11-25 15:01:22 -08:00