pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/AL-Rami/git-Al-Rami-ht/commit/85964265a3bac6408df126d3d6f91f123d0e3afa

="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> Merge branch 'kh/doc-pre-commit-fix' · AL-Rami/git-Al-Rami-ht@8596426 · GitHub
Skip to content

Commit 8596426

Browse files
committed
Merge branch 'kh/doc-pre-commit-fix'
Docfix. * kh/doc-pre-commit-fix: doc: join default pre-commit paragraphs
2 parents 1c22dfd + 8cbbdc9 commit 8596426

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

Documentation/githooks.adoc

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,14 @@ invoked before obtaining the proposed commit log message and
103103
making a commit. Exiting with a non-zero status from this script
104104
causes the `git commit` command to abort before creating a commit.
105105
106-
The default 'pre-commit' hook, when enabled, catches introduction
107-
of lines with trailing whitespaces and aborts the commit when
108-
such a line is found.
109-
110106
All the `git commit` hooks are invoked with the environment
111107
variable `GIT_EDITOR=:` if the command will not bring up an editor
112108
to modify the commit message.
113109
114-
The default 'pre-commit' hook, when enabled--and with the
115-
`hooks.allownonascii` config option unset or set to false--prevents
116-
the use of non-ASCII filenames.
110+
The default 'pre-commit' hook, when enabled, prevents the introduction
111+
of non-ASCII filenames and lines with trailing whitespace. The non-ASCII
112+
check can be turned off by setting the `hooks.allownonascii` config
113+
option to `true`.
117114
118115
pre-merge-commit
119116
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy