diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-07-19 11:28:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-19 11:28:06 -0700 |
commit | 679639904da05f7d84e9215960e76dd0f3353328 (patch) | |
tree | a60e891d49b1de93d135fd5d79171f4c09b98040 /builtin-rev-list.c | |
parent | 03db4525d38119f7778d6e9117f27c47db8466d4 (diff) | |
parent | a1b6fb04b1c1b581dfac5c13641af8b3ae44810f (diff) | |
download | git-679639904da05f7d84e9215960e76dd0f3353328.tar.gz |
Merge branch 'maint'
* maint:
GIT 1.5.6.4
builtin-rm: fix index lock file path
http-fetch: do not SEGV after fetching a bad pack idx file
rev-list: honor --quiet option
api-run-command.txt: typofix
Diffstat (limited to 'builtin-rev-list.c')
-rw-r--r-- | builtin-rev-list.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/builtin-rev-list.c b/builtin-rev-list.c index 8e1720c45b..893762c80f 100644 --- a/builtin-rev-list.c +++ b/builtin-rev-list.c @@ -590,6 +590,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix) revs.commit_format = CMIT_FMT_UNSPECIFIED; argc = setup_revisions(argc, argv, &revs, NULL); + quiet = DIFF_OPT_TST(&revs.diffopt, QUIET); for (i = 1 ; i < argc; i++) { const char *arg = argv[i]; @@ -621,10 +622,6 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix) read_revisions_from_stdin(&revs); continue; } - if (!strcmp(arg, "--quiet")) { - quiet = 1; - continue; - } usage(rev_list_usage); } |