From: Jon Seymour Date: Sun, 7 Aug 2011 11:58:16 +0000 (+1000) Subject: stash: take advantage of eval_gettextln X-Git-Tag: v1.7.7-rc0~9^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6fdd50e95cff54d3fb0ed40cf69e13461aaf64a1;p=git.git stash: take advantage of eval_gettextln Signed-off-by: Jon Seymour Signed-off-by: Junio C Hamano --- diff --git a/git-stash.sh b/git-stash.sh index f4e6f05ee..31dec0abf 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -198,8 +198,8 @@ save_stash () { # $ git stash save --blah-blah 2>&1 | head -n 2 # error: unknown option for 'stash save': --blah-blah # To provide a message, use git stash save -- '--blah-blah' - eval_gettext "$("error: unknown option for 'stash save': \$option - To provide a message, use git stash save -- '\$option'")"; echo + eval_gettextln "$("error: unknown option for 'stash save': \$option + To provide a message, use git stash save -- '\$option'")" usage ;; *) @@ -470,10 +470,7 @@ apply_stash () { status=$? if test -n "$INDEX_OPTION" then - ( - gettext "Index was not unstashed." && - echo - ) >&2 + gettextln "Index was not unstashed." >&2 fi exit $status fi