Skip to content

Commit 8b44e05

Browse files
committed
Merge branch 'en/merge-ort-align-verbosity-with-recursive'
Align the level of verbose output from the ort backend during inner merge to that of the recursive backend. * en/merge-ort-align-verbosity-with-recursive: merge-ort: exclude messages from inner merges by default
2 parents f62106d + 624a935 commit 8b44e05

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

merge-ort.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,9 @@ static void path_msg(struct merge_options *opt,
639639

640640
if (opt->record_conflict_msgs_as_headers && omittable_hint)
641641
return; /* Do not record mere hints in headers */
642-
if (opt->record_conflict_msgs_as_headers && opt->priv->call_depth)
643-
return; /* Do not record inner merge issues in headers */
642+
if (opt->priv->call_depth && opt->verbosity < 5)
643+
return; /* Ignore messages from inner merges */
644+
644645
sb = strmap_get(&opt->priv->output, path);
645646
if (!sb) {
646647
sb = xmalloc(sizeof(*sb));

0 commit comments

Comments
 (0)