i18n: git-pull eval_gettext + die message

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason 2011-05-21 18:43:56 +00:00 committed by Junio C Hamano
parent 85af5f82a6
commit 9f35aaa917

View file

@ -222,12 +222,12 @@ then
echo >&2 "Warning: commit $orig_head."
git update-index -q --refresh
git read-tree -u -m "$orig_head" "$curr_head" ||
die 'Cannot fast-forward your working tree.
die "$(eval_gettext "Cannot fast-forward your working tree.
After making sure that you saved anything precious from
$ git diff '$orig_head'
$ git diff \$orig_head
output, run
$ git reset --hard
to recover.'
to recover.")"
fi