Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
builtin/checkout.c: mark strings for translation
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Sat, 27 Feb 2016 06:41:54 +0000
(13:41 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 29 Feb 2016 22:27:58 +0000
(14:27 -0800)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
f02fbc4
)
diff --git
a/builtin/checkout.c
b/builtin/checkout.c
index cfa66e25eb0838ba70d87d3008c6d3c57e363bd1..efcbd8f6b5e0b7d551c88c02b6d7d3069a47944d 100644
(file)
--- 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)