summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-06-07 19:05:13 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-06-07 11:58:09 -0700
commit2ca0c53b3198787ba33fe1aebb05799c09778979 (patch)
tree418e7e6c9c926aa7a833b76a4240e9d74dcbee95
parentreflog: remove i18n legos in pruning message (diff)
downloadtgif-2ca0c53b3198787ba33fe1aebb05799c09778979.tar.xz
notes-merge: remove i18n legos in merge result message
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--notes-merge.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/notes-merge.c b/notes-merge.c
index 74aa77ce4b..29c6411fc6 100644
--- a/notes-merge.c
+++ b/notes-merge.c
@@ -524,8 +524,10 @@ static int merge_from_diffs(struct notes_merge_options *o,
free(changes);
if (o->verbosity >= 4)
- printf("Merge result: %i unmerged notes and a %s notes tree\n",
- conflicts, t->dirty ? "dirty" : "clean");
+ printf(t->dirty ?
+ "Merge result: %i unmerged notes and a dirty notes tree\n" :
+ "Merge result: %i unmerged notes and a clean notes tree\n",
+ conflicts);
return conflicts ? -1 : 1;
}