Skip to content

Commit ef84426

Browse files
vascoolgitster
authored andcommitted
i18n: add--interactive: remove %patch_modes entries
Remove unnecessary entries from %patch_modes. After the i18n conversion, these entries are not used anymore. Signed-off-by: Vasco Almeida <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c9d9616 commit ef84426

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

git-add--interactive.perl

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -105,69 +105,48 @@ sub colored {
105105
DIFF => 'diff-files -p',
106106
APPLY => sub { apply_patch 'apply --cached', @_; },
107107
APPLY_CHECK => 'apply --cached',
108-
VERB => 'Stage',
109-
TARGET => '',
110-
PARTICIPLE => 'staging',
111108
FILTER => 'file-only',
112109
IS_REVERSE => 0,
113110
},
114111
'stash' => {
115112
DIFF => 'diff-index -p HEAD',
116113
APPLY => sub { apply_patch 'apply --cached', @_; },
117114
APPLY_CHECK => 'apply --cached',
118-
VERB => 'Stash',
119-
TARGET => '',
120-
PARTICIPLE => 'stashing',
121115
FILTER => undef,
122116
IS_REVERSE => 0,
123117
},
124118
'reset_head' => {
125119
DIFF => 'diff-index -p --cached',
126120
APPLY => sub { apply_patch 'apply -R --cached', @_; },
127121
APPLY_CHECK => 'apply -R --cached',
128-
VERB => 'Unstage',
129-
TARGET => '',
130-
PARTICIPLE => 'unstaging',
131122
FILTER => 'index-only',
132123
IS_REVERSE => 1,
133124
},
134125
'reset_nothead' => {
135126
DIFF => 'diff-index -R -p --cached',
136127
APPLY => sub { apply_patch 'apply --cached', @_; },
137128
APPLY_CHECK => 'apply --cached',
138-
VERB => 'Apply',
139-
TARGET => ' to index',
140-
PARTICIPLE => 'applying',
141129
FILTER => 'index-only',
142130
IS_REVERSE => 0,
143131
},
144132
'checkout_index' => {
145133
DIFF => 'diff-files -p',
146134
APPLY => sub { apply_patch 'apply -R', @_; },
147135
APPLY_CHECK => 'apply -R',
148-
VERB => 'Discard',
149-
TARGET => ' from worktree',
150-
PARTICIPLE => 'discarding',
151136
FILTER => 'file-only',
152137
IS_REVERSE => 1,
153138
},
154139
'checkout_head' => {
155140
DIFF => 'diff-index -p',
156141
APPLY => sub { apply_patch_for_checkout_commit '-R', @_ },
157142
APPLY_CHECK => 'apply -R',
158-
VERB => 'Discard',
159-
TARGET => ' from index and worktree',
160-
PARTICIPLE => 'discarding',
161143
FILTER => undef,
162144
IS_REVERSE => 1,
163145
},
164146
'checkout_nothead' => {
165147
DIFF => 'diff-index -R -p',
166148
APPLY => sub { apply_patch_for_checkout_commit '', @_ },
167149
APPLY_CHECK => 'apply',
168-
VERB => 'Apply',
169-
TARGET => ' to index and worktree',
170-
PARTICIPLE => 'applying',
171150
FILTER => undef,
172151
IS_REVERSE => 0,
173152
},

0 commit comments

Comments
 (0)