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>
Michael S. Tsirkin committed
Jan 12, 2007 at 09:49 UTC
fc41be3b2e2eb2135e560077fc705dab7aade5f0
1 file changed
+2
-6
Documentation/git-commit.txt
+2
-6
@@ -72,12 +72,8 @@ OPTIONS
72
Add Signed-off-by line at the end of the commit message.
73
74
--no-verify::
75
- By default, the command looks for suspicious lines the
76
- commit introduces, and aborts committing if there is one.
77
- The definition of 'suspicious lines' is currently the
78
- lines that has trailing whitespaces, and the lines whose
79
- indentation has a SP character immediately followed by a
80
- TAB character. This option turns off the check.
75
+ This option bypasses the pre-commit hook.
76
+ See also link:hooks.html[hooks].
77
78
-e|--edit::
79
The message taken from file with `-F`, command line with