Skip to content

Commit

Permalink
notes-merge: remove i18n legos in merge result message
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Nguyễn Thái Ngọc Duy authored and Junio C Hamano committed Jun 7, 2012
1 parent 95cfe95 commit 2ca0c53
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions notes-merge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2ca0c53

Please sign in to comment.