summaryrefslogtreecommitdiffstats
path: root/git-commit.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-12-03 09:57:55 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-12-03 09:57:55 +0000
commit0c99970a28e8702164d721f718aab95a0f23e1b4 (patch)
tree56df521f32bb95d2f9d4f940f2ff20815b1bd9e2 /git-commit.txt
parent0a16b951976d8a06e3f3ba341c2c2eef7541a65e (diff)
downloadgit-htmldocs-0c99970a28e8702164d721f718aab95a0f23e1b4.tar.gz
Autogenerated HTML docs for v1.5.3.7-994-g36863
Diffstat (limited to 'git-commit.txt')
-rw-r--r--git-commit.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/git-commit.txt b/git-commit.txt
index d4bfd49ce..a7ef71ff9 100644
--- a/git-commit.txt
+++ b/git-commit.txt
@@ -10,7 +10,7 @@ SYNOPSIS
[verse]
'git-commit' [-a | --interactive] [-s] [-v] [-u]
[(-c | -C) <commit> | -F <file> | -m <msg> | --amend]
- [--no-verify] [-e] [--author <author>]
+ [--allow-empty] [--no-verify] [-e] [--author <author>]
[--] [[-i | -o ]<file>...]
DESCRIPTION
@@ -89,6 +89,12 @@ OPTIONS
This option bypasses the pre-commit hook.
See also link:hooks.html[hooks].
+--allow-empty::
+ Usually recording a commit that has the exact same tree as its
+ sole parent commit and the command prevents you from making such
+ a mistake. This option bypasses the safety, and is primarily
+ for use by foreign scm interface scripts.
+
-e|--edit::
The message taken from file with `-F`, command line with
`-m`, and from file with `-C` are usually used as the