Browse Source

i18n: git-checkout describe_detached_head messages

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Ævar Arnfjörð Bjarmason 14 years ago committed by Junio C Hamano
parent
commit
983ca75ecb
  1. 2
      builtin/checkout.c

2
builtin/checkout.c

@ -613,7 +613,7 @@ static int switch_branches(struct checkout_opts *opts, struct branch_info *new) @@ -613,7 +613,7 @@ static int switch_branches(struct checkout_opts *opts, struct branch_info *new)
* to remind the user that it might be lost.
*/
if (!opts->quiet && !old.path && old.commit && new->commit != old.commit)
describe_detached_head("Previous HEAD position was", old.commit);
describe_detached_head(_("Previous HEAD position was"), old.commit);

update_refs_for_switch(opts, &old, new);


Loading…
Cancel
Save