@@ -89,11 +89,8 @@ safe_to_abort () {
89
89
then
90
90
return 0
91
91
fi
92
- (
93
- gettext " You seem to have moved HEAD since the last 'am' failure.
94
- Not rewinding to ORIG_HEAD" &&
95
- echo
96
- ) >&2
92
+ gettextln " You seem to have moved HEAD since the last 'am' failure.
93
+ Not rewinding to ORIG_HEAD" >&2
97
94
return 1
98
95
}
99
96
@@ -102,9 +99,9 @@ stop_here_user_resolve () {
102
99
printf ' %s\n' " $resolvemsg "
103
100
stop_here $1
104
101
fi
105
- eval_gettext " When you have resolved this problem run \"\$ cmdline --resolved\" .
102
+ eval_gettextln " When you have resolved this problem run \"\$ cmdline --resolved\" .
106
103
If you would prefer to skip this patch, instead run \"\$ cmdline --skip\" .
107
- To restore the original branch and stop patching run \"\$ cmdline --abort\" ." ; echo
104
+ To restore the original branch and stop patching run \"\$ cmdline --abort\" ."
108
105
109
106
stop_here $1
110
107
}
@@ -118,7 +115,7 @@ go_next () {
118
115
119
116
cannot_fallback () {
120
117
echo " $1 "
121
- gettext " Cannot fall back to three-way merge." ; echo
118
+ gettextln " Cannot fall back to three-way merge."
122
119
exit 1
123
120
}
124
121
611
608
go_next && continue
612
609
613
610
test -s " $dotest /patch" || {
614
- eval_gettext " Patch is empty. Was it split wrong?
611
+ eval_gettextln " Patch is empty. Was it split wrong?
615
612
If you would prefer to skip this patch, instead run \"\$ cmdline --skip\" .
616
- To restore the original branch and stop patching run \"\$ cmdline --abort\" ." ; echo
613
+ To restore the original branch and stop patching run \"\$ cmdline --abort\" ."
617
614
stop_here $this
618
615
}
619
616
rm -f " $dotest /original-commit" " $dotest /author-script"
@@ -648,7 +645,7 @@ To restore the original branch and stop patching run \"\$cmdline --abort\"."; ec
648
645
649
646
if test -z " $GIT_AUTHOR_EMAIL "
650
647
then
651
- gettext " Patch does not have a valid e-mail address." ; echo
648
+ gettextln " Patch does not have a valid e-mail address."
652
649
stop_here $this
653
650
fi
654
651
@@ -699,7 +696,7 @@ To restore the original branch and stop patching run \"\$cmdline --abort\"."; ec
699
696
action=again
700
697
while test " $action " = again
701
698
do
702
- gettext " Commit Body is:" ; echo
699
+ gettextln " Commit Body is:"
703
700
echo " --------------------------"
704
701
cat " $dotest /final-commit"
705
702
echo " --------------------------"
@@ -763,16 +760,16 @@ To restore the original branch and stop patching run \"\$cmdline --abort\"."; ec
763
760
# working tree.
764
761
resolved=
765
762
git diff-index --quiet --cached HEAD -- && {
766
- gettext " No changes - did you forget to use 'git add'?
763
+ gettextln " No changes - did you forget to use 'git add'?
767
764
If there is nothing left to stage, chances are that something else
768
- already introduced the same changes; you might want to skip this patch." ; echo
765
+ already introduced the same changes; you might want to skip this patch."
769
766
stop_here_user_resolve $this
770
767
}
771
768
unmerged=$( git ls-files -u)
772
769
if test -n " $unmerged "
773
770
then
774
- gettext " You still have unmerged paths in your index
775
- did you forget to use 'git add'?" ; echo
771
+ gettextln " You still have unmerged paths in your index
772
+ did you forget to use 'git add'?"
776
773
stop_here_user_resolve $this
777
774
fi
778
775
apply_status=0
@@ -797,7 +794,7 @@ did you forget to use 'git add'?"; echo
797
794
fi
798
795
if test $apply_status ! = 0
799
796
then
800
- eval_gettext ' Patch failed at $msgnum $FIRSTLINE' ; echo
797
+ eval_gettextln ' Patch failed at $msgnum $FIRSTLINE'
801
798
stop_here_user_resolve $this
802
799
fi
803
800
0 commit comments