am: quote string for translation before passing to eval_gettextln
If it's not quoted, the string is expanded before it gets looked up in gettext database and obviously nothing is returned. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Aug 22, 2012 at 21:48 UTC
a312a271b92fe74f5954adbb824987b040926c4c
1 file changed
+2
-2
git-am.sh
+2
-2
@@ -836,8 +836,8 @@ did you forget to use 'git add'?"
836
eval_gettextln 'Patch failed at $msgnum $FIRSTLINE'
837
if test "$(git config --bool advice.amworkdir)" != false
838
then
839
- eval_gettextln "The copy of the patch that failed is found in:
840
- $dotest/patch"
839
+ eval_gettextln 'The copy of the patch that failed is found in:
840
+ $dotest/patch'
841
fi
842
stop_here_user_resolve $this
843
fi