summaryrefslogtreecommitdiff
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-02-27 06:41:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-02-29 22:27:58 (GMT)
commit4636f651234b3fe950246cd1aa2c8b0a5955ea6b (patch)
treedee8553f724874ac95dae67b503370feacf0038c /builtin/checkout.c
parentf02fbc4f9433937ee0463d0342d6d7d97e1f6f1e (diff)
downloadgit-4636f651234b3fe950246cd1aa2c8b0a5955ea6b.zip
git-4636f651234b3fe950246cd1aa2c8b0a5955ea6b.tar.gz
git-4636f651234b3fe950246cd1aa2c8b0a5955ea6b.tar.bz2
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/checkout.c')
-rw-r--r--builtin/checkout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c
index cfa66e2..efcbd8f 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)