Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> --- notes-merge.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/notes-merge.c b/notes-merge.c index 74aa77c..43d5ce0 100644 --- a/notes-merge.c +++ b/notes-merge.c @@ -523,9 +523,14 @@ static int merge_from_diffs(struct notes_merge_options *o, conflicts = merge_changes(o, changes, &num_changes, t); free(changes); - if (o->verbosity >= 4) - printf("Merge result: %i unmerged notes and a %s notes tree\n", - conflicts, t->dirty ? "dirty" : "clean"); + if (o->verbosity >= 4) { + if (t->dirty) + printf("Merge result: %i unmerged notes and a dirty notes tree\n", + conflicts); + else + printf("Merge result: %i unmerged notes and a clean notes tree\n", + conflicts); + } return conflicts ? -1 : 1; } -- 1.7.10.2.549.g9354186 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html