fix documentation for git-commit --no-verify
Despite what the documentation claims, git-commit does not check commit for suspicious lines: all hooks are disabled by default, and the pre-comit hook could be changed to do something else. Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
4494c656e2
commit
fc41be3b2e
@ -72,12 +72,8 @@ OPTIONS
|
|||||||
Add Signed-off-by line at the end of the commit message.
|
Add Signed-off-by line at the end of the commit message.
|
||||||
|
|
||||||
--no-verify::
|
--no-verify::
|
||||||
By default, the command looks for suspicious lines the
|
This option bypasses the pre-commit hook.
|
||||||
commit introduces, and aborts committing if there is one.
|
See also link:hooks.html[hooks].
|
||||||
The definition of 'suspicious lines' is currently the
|
|
||||||
lines that has trailing whitespaces, and the lines whose
|
|
||||||
indentation has a SP character immediately followed by a
|
|
||||||
TAB character. This option turns off the check.
|
|
||||||
|
|
||||||
-e|--edit::
|
-e|--edit::
|
||||||
The message taken from file with `-F`, command line with
|
The message taken from file with `-F`, command line with
|
||||||
|
Loading…
Reference in New Issue
Block a user