summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5027fa8)
raw | patch | inline | side by side (parent: 5027fa8)
author | Michael J Gruber <git@drmicha.warpmail.net> | |
Tue, 15 Feb 2011 13:09:07 +0000 (14:09 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 15 Feb 2011 18:51:08 +0000 (10:51 -0800) |
This also removes the superfluous "specify" and rewords the misleading
"if any" which sounds as if omitting "-m" would omit the merge commit
message. (It means "if a merge commit is created at all".)
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
"if any" which sounds as if omitting "-m" would omit the merge commit
message. (It means "if a merge commit is created at all".)
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c | patch | blob | history | |
builtin/merge.c | patch | blob | history | |
builtin/tag.c | patch | blob | history |
diff --git a/builtin/commit.c b/builtin/commit.c
index 0245d9f2ce85bab0bd50d7e1e98fcd5f7a317afe..0090571adf09ef79bff63f2f0be0d02237c4e5b4 100644 (file)
--- a/builtin/commit.c
+++ b/builtin/commit.c
OPT_FILENAME('F', "file", &logfile, "read message from file"),
OPT_STRING(0, "author", &force_author, "AUTHOR", "override author for commit"),
OPT_STRING(0, "date", &force_date, "DATE", "override date for commit"),
- OPT_CALLBACK('m', "message", &message, "MESSAGE", "specify commit message", opt_parse_m),
+ OPT_CALLBACK('m', "message", &message, "MESSAGE", "commit message", opt_parse_m),
OPT_STRING('c', "reedit-message", &edit_message, "COMMIT", "reuse and edit message from specified commit"),
OPT_STRING('C', "reuse-message", &use_message, "COMMIT", "reuse message from specified commit"),
OPT_STRING(0, "fixup", &fixup_message, "COMMIT", "use autosquash formatted message to fixup specified commit"),
diff --git a/builtin/merge.c b/builtin/merge.c
index 42fff387e69d9b5412e8e776aed3272b78ebe758..a682043fe5b91317bd7e998fbb95afc9b3ccf368 100644 (file)
--- a/builtin/merge.c
+++ b/builtin/merge.c
"merge strategy to use", option_parse_strategy),
OPT_CALLBACK('X', "strategy-option", &xopts, "option=value",
"option for selected merge strategy", option_parse_x),
- OPT_CALLBACK('m', "message", &merge_msg, "message",
- "message to be used for the merge commit (if any)",
+ OPT_CALLBACK('m', "message", &merge_msg, "MESSAGE",
+ "merge commit message (for a non-fast-forward merge)",
option_parse_message),
OPT__VERBOSITY(&verbosity),
OPT_BOOLEAN(0, "abort", &abort_current_merge,
diff --git a/builtin/tag.c b/builtin/tag.c
index 6408171f9b45c5f3d020439f9d8d45988a92cede..246a2bc72bf9e89454a27265f6dbcd904698feab 100644 (file)
--- a/builtin/tag.c
+++ b/builtin/tag.c
OPT_GROUP("Tag creation options"),
OPT_BOOLEAN('a', NULL, &annotate,
"annotated tag, needs a message"),
- OPT_CALLBACK('m', NULL, &msg, "msg",
- "message for the tag", parse_msg_arg),
+ OPT_CALLBACK('m', NULL, &msg, "MESSAGE",
+ "tag message", parse_msg_arg),
OPT_FILENAME('F', NULL, &msgfile, "read message from file"),
OPT_BOOLEAN('s', NULL, &sign, "annotated and GPG-signed tag"),
OPT_STRING('u', NULL, &keyid, "key-id",