Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
templates: Reformat pre-commit hook's message
author
Richard Hartmann
<richih.mailinglist@gmail.com>
Sun, 14 Jul 2013 16:21:15 +0000
(18:21 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 15 Jul 2013 16:52:52 +0000
(09:52 -0700)
Now that we're using heredoc, the message can span the full 80 chars.
Signed-off-by: Richard Hartmann <richih.mailinglist@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
templates/hooks--pre-commit.sample
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
27b6e17
)
diff --git
a/templates/hooks--pre-commit.sample
b/templates/hooks--pre-commit.sample
index 5558caa7bb62f420102454219eb96ce4212a8daa..2d867021d0f28280203d3a9848f0ed0a55b8cffd 100755
(executable)
--- a/
templates/hooks--pre-commit.sample
+++ b/
templates/hooks--pre-commit.sample
@@
-34,13
+34,11
@@
then
cat <<\EOF
Error: Attempt to add a non-ascii file name.
-This can cause problems if you want to work
-with people on other platforms.
+This can cause problems if you want to work with people on other platforms.
To be portable it is advisable to rename the file.
-If you know what you are doing you can disable this
-check using:
+If you know what you are doing you can disable this check using:
git config hooks.allownonascii true
EOF