summaryrefslogtreecommitdiff
path: root/Documentation/git-commit-script.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-14 17:24:36 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-14 17:24:36 -0700
commit3f971fc425bca3d9e97b04e9db39e4d5e43921bc (patch)
treeb1e0b079a4143355e3f826f15b87383456dedcc9 /Documentation/git-commit-script.txt
parent068eac91ce04b9aca163acb1927c3878c45d1a07 (diff)
downloadgit-3f971fc425bca3d9e97b04e9db39e4d5e43921bc.tar.gz
Documentation updates.
Linus brought up that documentation for many commands have incorrect attribution. I started counting lines again, but ended up adding a handful of missing manual pages. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-commit-script.txt')
-rw-r--r--Documentation/git-commit-script.txt17
1 files changed, 15 insertions, 2 deletions
diff --git a/Documentation/git-commit-script.txt b/Documentation/git-commit-script.txt
index bb559d70a5..cf6b5c3da2 100644
--- a/Documentation/git-commit-script.txt
+++ b/Documentation/git-commit-script.txt
@@ -8,7 +8,7 @@ git-commit-script - Record your changes
SYNOPSIS
--------
-'git commit' [-a] [(-c | -C) <commit> | -F <file> | -m <msg>] <file>...
+'git commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>] <file>...
DESCRIPTION
-----------
@@ -36,13 +36,26 @@ OPTIONS
-m <msg>::
Use the given <msg> as the commit message.
+-s::
+ Add Signed-off-by line at the end of the commit message.
+
+-v::
+ Look for suspicious lines the commit introduces, and
+ abort 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.
+
<file>...::
Update specified paths in the index file.
Author
------
-Written by Linus Torvalds <torvalds@osdl.org>
+Written by Linus Torvalds <torvalds@osdl.org> and
+Junio C Hamano <junkio@cox.net>
+
GIT
---