Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-05-21 22:43:46 +0400
committerJunio C Hamano <gitster@pobox.com>2011-05-21 22:57:14 +0400
commit22fdd11432d6177ad6f8b9e32f0c4a8101542786 (patch)
tree51b32fea8eb6a7c8f9b09a33dbc7487f0b1e2114 /git-am.sh
parenta4372c373bc4f1a36137af315a8f8fe20385203b (diff)
i18n: git-am gettext + gettext to stderr message
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-xgit-am.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/git-am.sh b/git-am.sh
index 7c0273c9ad..d56c7e9df9 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -89,8 +89,11 @@ safe_to_abort () {
then
return 0
fi
- echo >&2 "You seem to have moved HEAD since the last 'am' failure."
- echo >&2 "Not rewinding to ORIG_HEAD"
+ (
+ gettext "You seem to have moved HEAD since the last 'am' failure.
+Not rewinding to ORIG_HEAD" &&
+ echo
+ ) >&2
return 1
}