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 (has_rerere_resolution(name)) {
|
||||||
if (!merge(name, path)) {
|
if (!merge(name, path)) {
|
||||||
if (rerere_autoupdate)
|
const char *msg;
|
||||||
|
if (rerere_autoupdate) {
|
||||||
string_list_insert(&update, path);
|
string_list_insert(&update, path);
|
||||||
fprintf(stderr,
|
msg = "Staged '%s' using previous resolution.\n";
|
||||||
"%s '%s' using previous resolution.\n",
|
} else
|
||||||
rerere_autoupdate
|
msg = "Resolved '%s' using previous resolution.\n";
|
||||||
? "Staged" : "Resolved",
|
fprintf(stderr, msg, path);
|
||||||
path);
|
|
||||||
goto mark_resolved;
|
goto mark_resolved;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user