summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorPeter Eriksen <s022018@student.dtu.dk>2007-01-24 19:54:46 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-24 23:32:52 (GMT)
commit497171e765b7b4f903d21379bee050380e539cf3 (patch)
tree49ae51c0c242ac6baab59440dd4de61cee4df750 /Documentation
parent191453f66449537da29e9fc156f7a981845ea8f6 (diff)
downloadgit-497171e765b7b4f903d21379bee050380e539cf3.zip
git-497171e765b7b4f903d21379bee050380e539cf3.tar.gz
git-497171e765b7b4f903d21379bee050380e539cf3.tar.bz2
Documentation: --amend cannot be combined with -c/-C/-F.
We used to get the following confusing error message: $ git commit --amend -a -m foo Option -m cannot be combined with -c/-C/-F This is because --amend cannot be combined with -c/-C/-F, which makes sense, because they try to handle the same log message in different ways. So update the documentation to reflect this. Signed-off-by: Peter Eriksen <s022018@student.dtu.dk> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-commit.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 532703a..2187eee 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -8,8 +8,8 @@ git-commit - Record changes to the repository
SYNOPSIS
--------
[verse]
-'git-commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>]
- [--no-verify] [--amend] [-e] [--author <author>]
+'git-commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg> |
+ --amend] [--no-verify] [-e] [--author <author>]
[--] [[-i | -o ]<file>...]
DESCRIPTION