Browse Source

Merge branch 'rd/doc-hook-used-in-sample'

Doc update.

* rd/doc-hook-used-in-sample:
  mention use of "hooks.allownonascii" in "man githooks"
maint
Junio C Hamano 6 years ago
parent
commit
1c6036b69a
  1. 4
      Documentation/githooks.txt

4
Documentation/githooks.txt

@ -99,6 +99,10 @@ All the `git commit` hooks are invoked with the environment @@ -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
~~~~~~~~~~~~~~~~~~


Loading…
Cancel
Save