Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rd/doc-hook-used-in-sample'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 7 Mar 2019 00:59:59 +0000
(09:59 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 7 Mar 2019 00:59:59 +0000
(09:59 +0900)
Doc update.
* rd/doc-hook-used-in-sample:
mention use of "hooks.allownonascii" in "man githooks"
Documentation/githooks.txt
patch
|
blob
|
history
raw
(from parent 1:
4ab0f13
)
diff --git
a/Documentation/githooks.txt
b/Documentation/githooks.txt
index 959044347e5ee0daf78b3503794e2bf3c51f0efb..5bf653c111d07e0958840e38187320a433b20d07 100644
(file)
--- 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
~~~~~~~~~~~~~~~~~~