aboutsummaryrefslogtreecommitdiff
path: root/apply.c
diff options
context:
space:
mode:
authorVasco Almeida <vascomalmeida@sapo.pt>2016-10-17 13:15:26 +0000
committerJunio C Hamano <gitster@pobox.com>2016-10-17 14:51:42 -0700
commitf25dfb5e8d26204e58d60a6fc209e4ae65827d83 (patch)
tree938ac75ee1cdae46103949eedce4a34649896a97 /apply.c
parentd1d42bf5980b2d31f43f4a54c3d98d19f879b919 (diff)
downloadgit-f25dfb5e8d26204e58d60a6fc209e4ae65827d83.tar.gz
git-f25dfb5e8d26204e58d60a6fc209e4ae65827d83.tar.xz
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>
Diffstat (limited to 'apply.c')
-rw-r--r--apply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apply.c b/apply.c
index 82158742d..705cf562f 100644
--- a/apply.c
+++ b/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;