1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-18 05:26:29 +02:00
git/templates
Johan Herland af1748b31e sample pre-commit hook: use --bool when retrieving config var
Currently if you set

	[hooks]
		allowNonAscii

(or allownonascii = 1, or = yes) in your .git/config then the sample
pre-commit misinterprets the value as "false" and rejects non-ASCII
filenames.  Use "git config --bool" to get the usual nicer boolean
handling.

Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2013-09-24 12:26:49 -07:00
..
.gitignore
Makefile
branches--
hooks--applypatch-msg.sample
hooks--commit-msg.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--post-update.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--pre-applypatch.sample
hooks--pre-commit.sample sample pre-commit hook: use --bool when retrieving config var 2013-09-24 12:26:49 -07:00
hooks--pre-push.sample fix shell syntax error in template 2013-08-30 09:56:30 -07:00
hooks--pre-rebase.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--prepare-commit-msg.sample Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
hooks--update.sample templates/hooks--update.sample: use a lowercase "usage:" string 2013-02-24 13:31:09 -08:00
info--exclude Modernize git calling conventions in hook templates 2010-03-20 09:04:38 -07:00
this--description