aboutsummaryrefslogtreecommitdiff
path: root/levenshtein.h
diff options
context:
space:
mode:
authorJohan Herland <johan@herland.net>2013-09-24 09:52:56 +0200
committerJonathan Nieder <jrnieder@gmail.com>2013-09-24 12:26:49 -0700
commitaf1748b31eb68643f1b8d9d918f43611cf96d257 (patch)
tree2d9ad75018b85dfb6f592e38f0f0266497e22a01 /levenshtein.h
parentdebce6ac2a5e11eae61a524fd6bb414312bb07a8 (diff)
downloadgit-af1748b31eb68643f1b8d9d918f43611cf96d257.tar.gz
git-af1748b31eb68643f1b8d9d918f43611cf96d257.tar.xz
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>
Diffstat (limited to 'levenshtein.h')
0 files changed, 0 insertions, 0 deletions