summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-03-07 00:59:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-03-07 00:59:59 (GMT)
commit1c6036b69a19bf13a06f8f5ac579dcd46bf17074 (patch)
tree1e80c1881bfc70701a7085c8cf4dad0d4cda63a0 /Documentation
parent4ab0f138577aded469cded8760065ea2095959de (diff)
parent3e14dd2c8e9bc3b4bd2fb8197db6fe47133815cb (diff)
downloadgit-1c6036b69a19bf13a06f8f5ac579dcd46bf17074.zip
git-1c6036b69a19bf13a06f8f5ac579dcd46bf17074.tar.gz
git-1c6036b69a19bf13a06f8f5ac579dcd46bf17074.tar.bz2
Merge branch 'rd/doc-hook-used-in-sample'
Doc update. * rd/doc-hook-used-in-sample: mention use of "hooks.allownonascii" in "man githooks"
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/githooks.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt
index 9590443..5bf653c 100644
--- a/Documentation/githooks.txt
+++ b/Documentation/githooks.txt
@@ -99,6 +99,10 @@ All the `git commit` hooks are invoked with the environment
variable `GIT_EDITOR=:` if the command will not bring up an editor
to modify the commit message.
+The default 'pre-commit' hook, when enabled--and with the
+`hooks.allownonascii` config option unset or set to false--prevents
+the use of non-ASCII filenames.
+
prepare-commit-msg
~~~~~~~~~~~~~~~~~~