Skip to content

Commit

Permalink
i18n: git-pull eval_gettext + die message
Browse files Browse the repository at this point in the history
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
avar authored and gitster committed May 21, 2011
1 parent 85af5f8 commit 9f35aaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions git-pull.sh
Expand Up @@ -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

Expand Down

0 comments on commit 9f35aaa

Please sign in to comment.