зеркало из https://github.com/microsoft/git.git
Merge branch 'jc/log-quiet-fix'
* jc/log-quiet-fix: log: --quiet should serve as synonym to -s
This commit is contained in:
Коммит
b9575e78e5
|
@ -107,6 +107,8 @@ static void cmd_log_init_finish(int argc, const char **argv, const char *prefix,
|
|||
PARSE_OPT_KEEP_DASHDASH);
|
||||
|
||||
argc = setup_revisions(argc, argv, rev, opt);
|
||||
if (quiet)
|
||||
rev->diffopt.output_format |= DIFF_FORMAT_NO_OUTPUT;
|
||||
|
||||
/* Any arguments at this point are not recognized */
|
||||
if (argc > 1)
|
||||
|
|
Загрузка…
Ссылка в новой задаче