Skip to content

Commit

Permalink
Merge branch 'jc/log-quiet-fix'
Browse files Browse the repository at this point in the history
* jc/log-quiet-fix:
  log: --quiet should serve as synonym to -s
  • Loading branch information
gitster committed May 31, 2011
2 parents 2177dc6 + 01771a8 commit b9575e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builtin/log.c
Expand Up @@ -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)
Expand Down

0 comments on commit b9575e7

Please sign in to comment.