summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-08-22 14:48:03 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-08-22 16:59:52 (GMT)
commita312a271b92fe74f5954adbb824987b040926c4c (patch)
tree7e73138d2c236af91aa68fe4133629838360c5f7 /git-am.sh
parent14bf2d58bc3b202da3ca34cfdf72392889135411 (diff)
downloadgit-a312a271b92fe74f5954adbb824987b040926c4c.zip
git-a312a271b92fe74f5954adbb824987b040926c4c.tar.gz
git-a312a271b92fe74f5954adbb824987b040926c4c.tar.bz2
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>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-xgit-am.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-am.sh b/git-am.sh
index f1ae932..c1b7391 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -836,8 +836,8 @@ did you forget to use 'git add'?"
eval_gettextln 'Patch failed at $msgnum $FIRSTLINE'
if test "$(git config --bool advice.amworkdir)" != false
then
- eval_gettextln "The copy of the patch that failed is found in:
- $dotest/patch"
+ eval_gettextln 'The copy of the patch that failed is found in:
+ $dotest/patch'
fi
stop_here_user_resolve $this
fi