summaryrefslogtreecommitdiff
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-03-04 13:46:20 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-03-04 13:46:20 -0800
commit49a435219730b8a0be22887f9e9c4d94b36d3f1f (patch)
tree5ab915174a48e8fbb0ec9eaa34e9b846eb54a153 /builtin/checkout.c
parentMerge branch 'tb/avoid-gcc-on-darwin-10-6' (diff)
parenttrailer.c: mark strings for translation (diff)
downloadtgif-49a435219730b8a0be22887f9e9c4d94b36d3f1f.tar.xz
Merge branch 'nd/i18n-2.8.0'
* nd/i18n-2.8.0: trailer.c: mark strings for translation ref-filter.c: mark strings for translation builtin/clone.c: mark strings for translation builtin/checkout.c: mark strings for translation
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 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)