summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-05-08 22:36:31 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-05-08 22:36:31 -0700
commitea28baed79981e065a5a6d39323c4fb7d2b51685 (patch)
tree0f905b3224b376dbb092f36407311fdd6954884d /Documentation
parentMerge branch 'jc/test-sleepless' (diff)
parentAdd option to git-commit to allow empty log messages (diff)
downloadtgif-ea28baed79981e065a5a6d39323c4fb7d2b51685.tar.xz
Merge branch 'ab/commit-empty-message'
* ab/commit-empty-message: Add option to git-commit to allow empty log messages
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-commit.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 64fb458b45..32c482f33f 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -10,7 +10,7 @@ SYNOPSIS
[verse]
'git commit' [-a | --interactive] [-s] [-v] [-u<mode>] [--amend] [--dry-run]
[(-c | -C) <commit>] [-F <file> | -m <msg>] [--reset-author]
- [--allow-empty] [--no-verify] [-e] [--author=<author>]
+ [--allow-empty] [--allow-empty-message] [--no-verify] [-e] [--author=<author>]
[--date=<date>] [--cleanup=<mode>] [--status | --no-status] [--]
[[-i | -o ]<file>...]
@@ -131,6 +131,12 @@ OPTIONS
from making such a commit. This option bypasses the safety, and
is primarily for use by foreign scm interface scripts.
+--allow-empty-message::
+ Like --allow-empty this command is primarily for use by foreign
+ scm interface scripts. It allows you to create a commit with an
+ empty commit message without using plumbing commands like
+ linkgit:git-commit-tree[1].
+
--cleanup=<mode>::
This option sets how the commit message is cleaned up.
The '<mode>' can be one of 'verbatim', 'whitespace', 'strip',