Skip to content

Commit 1c6036b

Browse files
committed
Merge branch 'rd/doc-hook-used-in-sample'
Doc update. * rd/doc-hook-used-in-sample: mention use of "hooks.allownonascii" in "man githooks"
2 parents 4ab0f13 + 3e14dd2 commit 1c6036b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/githooks.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ All the `git commit` hooks are invoked with the environment
9999
variable `GIT_EDITOR=:` if the command will not bring up an editor
100100
to modify the commit message.
101101

102+
The default 'pre-commit' hook, when enabled--and with the
103+
`hooks.allownonascii` config option unset or set to false--prevents
104+
the use of non-ASCII filenames.
105+
102106
prepare-commit-msg
103107
~~~~~~~~~~~~~~~~~~
104108

0 commit comments

Comments
 (0)