Commit 6fdd50e9 authored by Jon Seymour's avatar Jon Seymour Committed by Junio C Hamano

stash: take advantage of eval_gettextln

Signed-off-by: Jon Seymour's avatarJon Seymour <[email protected]>
Signed-off-by: default avatarJunio C Hamano <[email protected]>
parent c2b1a95c
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment