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
parent
9f97ab08c2
commit
983ca75ecb
|
@ -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.
|
* to remind the user that it might be lost.
|
||||||
*/
|
*/
|
||||||
if (!opts->quiet && !old.path && old.commit && new->commit != old.commit)
|
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);
|
update_refs_for_switch(opts, &old, new);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue