Skip to content

Commit

Permalink
rerere: remove i18n legos in 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 2ca0c53 commit 72a23e6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rerere.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,13 +544,13 @@ static int do_plain_rerere(struct string_list *rr, int fd)

if (has_rerere_resolution(name)) {
if (!merge(name, path)) {
if (rerere_autoupdate)
const char *msg;
if (rerere_autoupdate) {
string_list_insert(&update, path);
fprintf(stderr,
"%s '%s' using previous resolution.\n",
rerere_autoupdate
? "Staged" : "Resolved",
path);
msg = "Staged '%s' using previous resolution.\n";
} else
msg = "Resolved '%s' using previous resolution.\n";
fprintf(stderr, msg, path);
goto mark_resolved;
}
}
Expand Down

0 comments on commit 72a23e6

Please sign in to comment.