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 <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Vasco Almeida committed Dec 14, 2016 at 11:54 UTC ef84426308c4aa3837839566ba3185323e3cf117
1 file changed -21
git-add--interactive.perl
-21
@@ -105,9 +105,6 @@ my %patch_modes = (
105 DIFF => 'diff-files -p',
106 APPLY => sub { apply_patch 'apply --cached', @_; },
107 APPLY_CHECK => 'apply --cached',
108 - VERB => 'Stage',
109 - TARGET => '',
110 - PARTICIPLE => 'staging',
108 FILTER => 'file-only',
109 IS_REVERSE => 0,
110 },
@@ -115,9 +112,6 @@ my %patch_modes = (
112 DIFF => 'diff-index -p HEAD',
113 APPLY => sub { apply_patch 'apply --cached', @_; },
114 APPLY_CHECK => 'apply --cached',
118 - VERB => 'Stash',
119 - TARGET => '',
120 - PARTICIPLE => 'stashing',
115 FILTER => undef,
116 IS_REVERSE => 0,
117 },
@@ -125,9 +119,6 @@ my %patch_modes = (
119 DIFF => 'diff-index -p --cached',
120 APPLY => sub { apply_patch 'apply -R --cached', @_; },
121 APPLY_CHECK => 'apply -R --cached',
128 - VERB => 'Unstage',
129 - TARGET => '',
130 - PARTICIPLE => 'unstaging',
122 FILTER => 'index-only',
123 IS_REVERSE => 1,
124 },
@@ -135,9 +126,6 @@ my %patch_modes = (
126 DIFF => 'diff-index -R -p --cached',
127 APPLY => sub { apply_patch 'apply --cached', @_; },
128 APPLY_CHECK => 'apply --cached',
138 - VERB => 'Apply',
139 - TARGET => ' to index',
140 - PARTICIPLE => 'applying',
129 FILTER => 'index-only',
130 IS_REVERSE => 0,
131 },
@@ -145,9 +133,6 @@ my %patch_modes = (
133 DIFF => 'diff-files -p',
134 APPLY => sub { apply_patch 'apply -R', @_; },
135 APPLY_CHECK => 'apply -R',
148 - VERB => 'Discard',
149 - TARGET => ' from worktree',
150 - PARTICIPLE => 'discarding',
136 FILTER => 'file-only',
137 IS_REVERSE => 1,
138 },
@@ -155,9 +140,6 @@ my %patch_modes = (
140 DIFF => 'diff-index -p',
141 APPLY => sub { apply_patch_for_checkout_commit '-R', @_ },
142 APPLY_CHECK => 'apply -R',
158 - VERB => 'Discard',
159 - TARGET => ' from index and worktree',
160 - PARTICIPLE => 'discarding',
143 FILTER => undef,
144 IS_REVERSE => 1,
145 },
@@ -165,9 +147,6 @@ my %patch_modes = (
147 DIFF => 'diff-index -R -p',
148 APPLY => sub { apply_patch_for_checkout_commit '', @_ },
149 APPLY_CHECK => 'apply',
168 - VERB => 'Apply',
169 - TARGET => ' to index and worktree',
170 - PARTICIPLE => 'applying',
150 FILTER => undef,
151 IS_REVERSE => 0,
152 },