summaryrefslogtreecommitdiff
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@mellanox.co.il>2007-01-12 07:49:35 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-12 08:09:07 (GMT)
commitfc41be3b2e2eb2135e560077fc705dab7aade5f0 (patch)
tree4137ab02d10ea0c06e1af49649ac5e613c8f1b61 /Documentation/git-commit.txt
parent4494c656e2e29c468c48c9c2b20595342056e9dc (diff)
downloadgit-fc41be3b2e2eb2135e560077fc705dab7aade5f0.zip
git-fc41be3b2e2eb2135e560077fc705dab7aade5f0.tar.gz
git-fc41be3b2e2eb2135e560077fc705dab7aade5f0.tar.bz2
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>
Diffstat (limited to 'Documentation/git-commit.txt')
-rw-r--r--Documentation/git-commit.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index a7adf24..cb081cd 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -72,12 +72,8 @@ OPTIONS
Add Signed-off-by line at the end of the commit message.
--no-verify::
- By default, the command looks for suspicious lines the
- commit introduces, and aborts committing if there is one.
- 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.
+ This option bypasses the pre-commit hook.
+ See also link:hooks.html[hooks].
-e|--edit::
The message taken from file with `-F`, command line with