Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/merge-quiet'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 14 Apr 2015 18:49:12 +0000
(11:49 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 14 Apr 2015 18:49:12 +0000
(11:49 -0700)
"git merge --quiet" did not squelch messages from the underlying
merge-recursive strategy.
* jk/merge-quiet:
merge: pass verbosity flag down to merge-recursive
builtin/merge.c
patch
|
blob
|
history
raw
(from parent 1:
f8e593e
)
diff --git
a/builtin/merge.c
b/builtin/merge.c
index 3b0f8f96d4168463139d15f1cde655facc73426c..068a83b328a2429e5ab1909652a66ffb5b234382 100644
(file)
--- a/
builtin/merge.c
+++ b/
builtin/merge.c
@@
-684,6
+684,10
@@
static int try_merge_strategy(const char *strategy, struct commit_list *common,
o.subtree_shift = "";
o.renormalize = option_renormalize;
+ if (verbosity < 0)
+ o.verbosity = verbosity;
+ else if (verbosity > 0)
+ o.verbosity += verbosity;
o.show_rename_progress =
show_progress == -1 ? isatty(2) : show_progress;