summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-02-27 13:41:54 +0700
committerJunio C Hamano <gitster@pobox.com>2016-02-29 14:27:58 -0800
commit4636f651234b3fe950246cd1aa2c8b0a5955ea6b (patch)
treedee8553f724874ac95dae67b503370feacf0038c /builtin
parentf02fbc4f9433937ee0463d0342d6d7d97e1f6f1e (diff)
downloadgit-4636f651234b3fe950246cd1aa2c8b0a5955ea6b.tar.gz
builtin/checkout.c: mark strings for translation
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/checkout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c
index cfa66e25eb..efcbd8f6b5 100644
--- a/builtin/checkout.c
+++ b/builtin/checkout.c
@@ -662,7 +662,7 @@ static void update_refs_for_switch(const struct checkout_opts *opts,
}
} else if (new->path) { /* Switch branches. */
if (create_symref("HEAD", new->path, msg.buf) < 0)
- die("unable to update HEAD");
+ die(_("unable to update HEAD"));
if (!opts->quiet) {
if (old->path && !strcmp(new->path, old->path)) {
if (opts->new_branch_force)