Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
i18n: git-pull eval_gettext + die message
author
Ævar Arnfjörð Bjarmason
<avarab@gmail.com>
Sat, 21 May 2011 18:43:56 +0000
(18:43 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 21 May 2011 18:57:15 +0000
(11:57 -0700)
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-pull.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
85af5f8
)
diff --git
a/git-pull.sh
b/git-pull.sh
index acb0c37731139778dcfaf85f69434a9c16d7bf8a..06dcd81b020320fd7b0b8458321d9156b0f0d578 100755
(executable)
--- a/
git-pull.sh
+++ b/
git-pull.sh
@@
-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