OSDN Git Service

notes-merge: remove i18n legos in merge result message
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 7 Jun 2012 12:05:13 +0000 (19:05 +0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Jun 2012 18:58:09 +0000 (11:58 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
notes-merge.c

index 74aa77c..29c6411 100644 (file)
@@ -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;
 }