Skip to content

Commit b1d5a57

Browse files
RichiHgitster
authored andcommitted
templates: Reformat pre-commit hook's message
Now that we're using heredoc, the message can span the full 80 chars. Signed-off-by: Richard Hartmann <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 27b6e17 commit b1d5a57

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

templates/hooks--pre-commit.sample

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,11 @@ then
3434
cat <<\EOF
3535
Error: Attempt to add a non-ascii file name.
3636
37-
This can cause problems if you want to work
38-
with people on other platforms.
37+
This can cause problems if you want to work with people on other platforms.
3938
4039
To be portable it is advisable to rename the file.
4140
42-
If you know what you are doing you can disable this
43-
check using:
41+
If you know what you are doing you can disable this check using:
4442
4543
git config hooks.allownonascii true
4644
EOF

0 commit comments

Comments
 (0)