i18n: apply: mark error message for translation
Update test to reflect changes. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
d1d42bf598
commit
f25dfb5e8d
4
apply.c
4
apply.c
@ -1586,8 +1586,8 @@ static int find_header(struct apply_state *state,
|
||||
patch->new_name = xstrdup(patch->def_name);
|
||||
}
|
||||
if (!patch->is_delete && !patch->new_name) {
|
||||
error("git diff header lacks filename information "
|
||||
"(line %d)", state->linenr);
|
||||
error(_("git diff header lacks filename information "
|
||||
"(line %d)"), state->linenr);
|
||||
return -128;
|
||||
}
|
||||
patch->is_toplevel_relative = 1;
|
||||
|
Reference in New Issue
Block a user