summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fcb243f)
raw | patch | inline | side by side (parent: fcb243f)
author | Stephen Boyd <bebarino@gmail.com> | |
Wed, 24 Mar 2010 07:16:04 +0000 (00:16 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 25 Mar 2010 02:45:31 +0000 (19:45 -0700) |
The --summary command line option has been deprecated in favor of --log.
Hide the option from the help message to further discourage the use of
this option.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Hide the option from the help message to further discourage the use of
this option.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fmt-merge-msg.c | patch | blob | history |
index 0fb4014691f656eece34f03525bee6b0546022bb..379a03131fbd84fb2b45a6b05e62daf82b7e4947 100644 (file)
--- a/builtin/fmt-merge-msg.c
+++ b/builtin/fmt-merge-msg.c
const char *inpath = NULL;
struct option options[] = {
OPT_BOOLEAN(0, "log", &merge_summary, "populate log with the shortlog"),
- OPT_BOOLEAN(0, "summary", &merge_summary, "alias for --log"),
+ { OPTION_BOOLEAN, 0, "summary", &merge_summary, NULL,
+ "alias for --log (deprecated)",
+ PARSE_OPT_NOARG | PARSE_OPT_HIDDEN },
OPT_FILENAME('F', "file", &inpath, "file to read from"),
OPT_END()
};