File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,6 @@ gettext_without_eval_gettext)
51
51
)
52
52
}
53
53
54
- eval_ngettext () {
55
- ngettext " $1 " " $2 " " $3 " | (
56
- export PATH $( git sh-i18n--envsubst --variables " $2 " ) ;
57
- git sh-i18n--envsubst " $2 "
58
- )
59
- }
60
54
;;
61
55
* )
62
56
gettext () {
@@ -70,12 +64,6 @@ gettext_without_eval_gettext)
70
64
)
71
65
}
72
66
73
- eval_ngettext () {
74
- (test " $3 " = 1 && printf " %s" " $1 " || printf " %s" " $2 " ) | (
75
- export PATH $( git sh-i18n--envsubst --variables " $2 " ) ;
76
- git sh-i18n--envsubst " $2 "
77
- )
78
- }
79
67
;;
80
68
esac
81
69
Original file line number Diff line number Diff line change @@ -217,9 +217,6 @@ require_clean_work_tree () {
217
217
then
218
218
action=$1
219
219
case " $action " in
220
- rebase)
221
- gettextln " Cannot rebase: You have unstaged changes." >&2
222
- ;;
223
220
" rewrite branches" )
224
221
gettextln " Cannot rewrite branches: You have unstaged changes." >&2
225
222
;;
@@ -235,14 +232,7 @@ require_clean_work_tree () {
235
232
if test $err = 0
236
233
then
237
234
action=$1
238
- case " $action " in
239
- rebase)
240
- gettextln " Cannot rebase: Your index contains uncommitted changes." >&2
241
- ;;
242
- * )
243
- eval_gettextln " Cannot \$ action: Your index contains uncommitted changes." >&2
244
- ;;
245
- esac
235
+ eval_gettextln " Cannot \$ action: Your index contains uncommitted changes." >&2
246
236
else
247
237
gettextln " Additionally, your index contains uncommitted changes." >&2
248
238
fi
You can’t perform that action at this time.
0 commit comments