rerere: remove i18n legos in result message
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
2ca0c53b31
commit
72a23e6449
12
rerere.c
12
rerere.c
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user