Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·78824c5471b8ce6050577d33b551c0f5·39180·vcs·optional·stgit-contrib_0.19-1_all.deb | 1 | ·78824c5471b8ce6050577d33b551c0f5·39180·vcs·optional·stgit-contrib_0.19-1_all.deb |
2 | · | 2 | ·f3858b5408f7a73320909ee73435a83e·106640·vcs·optional·stgit_0.19-1_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2019-10-03·12:38:18.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2019-10-03·12:38:18.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····3268·2019-10-03·12:38:18.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····3268·2019-10-03·12:38:18.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···1031 | 3 | -rw-r--r--···0········0········0···103180·2019-10-03·12:38:18.000000·data.tar.xz |
Offset 1, 214 lines modified | Offset 1, 214 lines modified | ||
1 | from·__future__·import·unicode_literals | 1 | from·__future__·import·unicode_literals |
2 | command_list·=·{ | 2 | command_list·=·{ |
3 | ····' | 3 | ····'pull':·( |
4 | ········' | 4 | ········'pull', |
5 | ········'Patch·commands', | ||
6 | ········'Delete·patches', | ||
7 | ····), | ||
8 | ····'patches':·( | ||
9 | ········'patches', | ||
10 | ········'Stack·(branch)·commands', | ||
11 | ········'Show·the·applied·patches·modifying·a·file', | ||
12 | ····), | ||
13 | ····'goto':·( | ||
14 | ········'goto', | ||
15 | ········'Stack·(branch)·commands', | 5 | ········'Stack·(branch)·commands', |
16 | ········'Pu | 6 | ········'Pull·changes·from·a·remote·repository', |
17 | ····), | 7 | ····), |
18 | ····' | 8 | ····'pick':·( |
19 | ········' | 9 | ········'pick', |
20 | ········'Patch·commands', | 10 | ········'Patch·commands', |
11 | ········'Import·a·patch·from·a·different·branch·or·a·commit·object', | ||
21 | ········'Import·a·GNU·diff·file·as·a·new·patch', | ||
22 | ····), | ||
23 | ····'clone':·( | ||
24 | ········'clone', | ||
25 | ········'Repository·commands', | ||
26 | ········'Make·a·local·clone·of·a·remote·repository', | ||
27 | ····), | 12 | ····), |
28 | ····'uncommit':·( | 13 | ····'uncommit':·( |
29 | ········'uncommit', | 14 | ········'uncommit', |
30 | ········'Stack·(branch)·commands', | 15 | ········'Stack·(branch)·commands', |
31 | ········'Turn·regular·git·commits·into·StGit·patches', | 16 | ········'Turn·regular·git·commits·into·StGit·patches', |
32 | ····), | 17 | ····), |
33 | ····'new':·( | ||
34 | ········'new', | ||
35 | ········'Patch·commands', | ||
36 | ········'Create·a·new,·empty·patch', | ||
37 | ····), | ||
38 | ····'s | 18 | ····'sync':·( |
39 | ········'s | 19 | ········'sync', |
40 | ········'Stack·(branch)·commands', | ||
41 | ········'Send·patches·deeper·down·the·stack', | ||
42 | ····), | ||
43 | ····'mail':·( | ||
44 | ········'mail', | ||
45 | ········'Patch·commands', | ||
46 | ········'Send·a·patch·or·series·of·patches·by·e-mail', | ||
47 | ····), | ||
48 | ····'export':·( | ||
49 | ········'export', | ||
50 | ········'Patch·commands', | 20 | ········'Patch·commands', |
51 | ········' | 21 | ········'Synchronise·patches·with·a·branch·or·a·series', |
52 | ····), | 22 | ····), |
53 | ····'p | 23 | ····'pop':·( |
54 | ········'p | 24 | ········'pop', |
55 | ········'Stack·(branch)·commands', | 25 | ········'Stack·(branch)·commands', |
56 | ········'P | 26 | ········'Pop·one·or·more·patches·from·the·stack', |
57 | ····), | 27 | ····), |
58 | ····' | 28 | ····'branch':·( |
59 | ········' | 29 | ········'branch', |
60 | ········'Stack·(branch)·commands', | 30 | ········'Stack·(branch)·commands', |
61 | ········' | 31 | ········'Branch·operations:·switch,·list,·create,·rename,·delete,·...', |
62 | ····), | 32 | ····), |
63 | ····'log':·( | ||
64 | ···· | 33 | ····'patches':·( |
34 | ········'patches', | ||
65 | ········'Stack·(branch)·commands', | 35 | ········'Stack·(branch)·commands', |
66 | ········' | 36 | ········'Show·the·applied·patches·modifying·a·file', |
67 | ····), | 37 | ····), |
68 | ····'init':·( | 38 | ····'init':·( |
69 | ········'init', | 39 | ········'init', |
70 | ········'Stack·(branch)·commands', | 40 | ········'Stack·(branch)·commands', |
71 | ········'Initialise·the·current·branch·for·use·with·StGIT', | 41 | ········'Initialise·the·current·branch·for·use·with·StGIT', |
72 | ····), | 42 | ····), |
73 | ····' | 43 | ····'clean':·( |
74 | ········' | 44 | ········'clean', |
75 | ········'Stack·(branch)·commands', | 45 | ········'Stack·(branch)·commands', |
76 | ········' | 46 | ········'Delete·the·empty·patches·in·the·series', |
77 | ····), | 47 | ····), |
78 | ····'refresh':·( | ||
79 | ···· | 48 | ····'publish':·( |
49 | ········'publish', | ||
80 | ········' | 50 | ········'Stack·(branch)·commands', |
81 | ········' | 51 | ········'Push·the·stack·changes·to·a·merge-friendly·branch', |
82 | ····), | 52 | ····), |
83 | ····'commit':·( | ||
84 | ···· | 53 | ····'push':·( |
54 | ········'push', | ||
85 | ········'Stack·(branch)·commands', | 55 | ········'Stack·(branch)·commands', |
86 | ········'P | 56 | ········'Push·one·or·more·patches·onto·the·stack', |
87 | ····), | 57 | ····), |
88 | ····' | 58 | ····'redo':·( |
89 | ········' | 59 | ········'redo', |
90 | ········'Stack·(branch)·commands', | 60 | ········'Stack·(branch)·commands', |
91 | ········' | 61 | ········'Undo·the·last·undo·operation', |
92 | ····), | 62 | ····), |
93 | ····'show':·( | ||
94 | ···· | 63 | ····'mail':·( |
64 | ········'mail', | ||
95 | ········'Patch·commands', | 65 | ········'Patch·commands', |
96 | ········'S | 66 | ········'Send·a·patch·or·series·of·patches·by·e-mail', |
97 | ····), | 67 | ····), |
68 | ····'id':·( | ||
69 | ········'id', | ||
70 | ········'Repository·commands', | ||
71 | ········'Print·the·git·hash·value·of·a·StGit·reference', | ||
72 | ····), | ||
98 | ····'un | 73 | ····'undo':·( |
99 | ········'un | 74 | ········'undo', |
100 | ········'Stack·(branch)·commands', | 75 | ········'Stack·(branch)·commands', |
101 | ········'Un | 76 | ········'Undo·the·last·operation', |
102 | ····), | 77 | ····), |
103 | ····'p | 78 | ····'prev':·( |
104 | ········'p | 79 | ········'prev', |
105 | ········'Stack·(branch)·commands', | 80 | ········'Stack·(branch)·commands', |
106 | ········'P | 81 | ········'Print·the·name·of·the·previous·patch', |
82 | ····), | ||
83 | ····'next':·( | ||
84 | ········'next', | ||
85 | ········'Stack·(branch)·commands', | ||
86 | ········'Print·the·name·of·the·next·patch', | ||
87 | ····), | ||
88 | ····'log':·( | ||
89 | ········'log', | ||
90 | ········'Stack·(branch)·commands', | ||
91 | ········'Display·the·patch·changelog', | ||
Max diff block lines reached; 4555/8873 bytes (51.34%) of diff not shown. |
Offset 152, 38 lines modified | Offset 152, 38 lines modified | ||
152 | _stg_commit·() | 152 | _stg_commit·() |
153 | { | 153 | { |
154 | ····local·flags="--all·--help·--number" | 154 | ····local·flags="--all·--help·--number" |
155 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 155 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
156 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 156 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
157 | ····case·"$prev"·in | 157 | ····case·"$prev"·in |
158 | ········-n|--number)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 158 | ········-n|--number)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
159 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_ | 159 | ········*)·COMPREPLY=($(compgen·-W·"$flags·$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
160 | ····esac | 160 | ····esac |
161 | } | 161 | } |
162 | _stg_delete·() | 162 | _stg_delete·() |
163 | { | 163 | { |
164 | ····local·flags="--branch·--help·--spill·--top" | 164 | ····local·flags="--branch·--help·--spill·--top" |
165 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 165 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
166 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 166 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
167 | ····case·"$prev"·in | 167 | ····case·"$prev"·in |
168 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; | 168 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; |
169 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_ | 169 | ········*)·COMPREPLY=($(compgen·-W·"$flags·$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
170 | ····esac | 170 | ····esac |
171 | } | 171 | } |
172 | _stg_diff·() | 172 | _stg_diff·() |
173 | { | 173 | { |
174 | ····local·flags="--diff-opts·--help·--range·--stat" | 174 | ····local·flags="--diff-opts·--help·--range·--stat" |
175 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 175 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
176 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 176 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
177 | ····case·"$prev"·in | 177 | ····case·"$prev"·in |
178 | ········-r|--range)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_hidden_patches)·$(_ | 178 | ········-r|--range)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_unapplied_patches)·$(_hidden_patches)·$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
179 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"- | 179 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-M·-C"·--·"$cur"))·;; |
180 | ········*)·COMPREPLY=($(compgen·-W·"$(_dirty_files)·$(_known_files) | 180 | ········*)·COMPREPLY=($(compgen·-W·"$(_dirty_files)·$flags·$(_known_files)"·--·"$cur"))·;; |
181 | ····esac | 181 | ····esac |
182 | } | 182 | } |
183 | _stg_edit·() | 183 | _stg_edit·() |
184 | { | 184 | { |
185 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--diff·--diff-opts·--edit·--file·--help·--message·--no-verify·--review·--save-template·--set-tree·--sign" | 185 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--diff·--diff-opts·--edit·--file·--help·--message·--no-verify·--review·--save-template·--set-tree·--sign" |
186 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 186 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 192, 54 lines modified | Offset 192, 54 lines modified | ||
192 | ········-m|--message)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 192 | ········-m|--message)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
193 | ········-f|--file)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 193 | ········-f|--file)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
194 | ········--save-template)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 194 | ········--save-template)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
195 | ········--author)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 195 | ········--author)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
196 | ········--authname)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 196 | ········--authname)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
197 | ········--authemail)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 197 | ········--authemail)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
198 | ········--authdate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 198 | ········--authdate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
199 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"- | 199 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-M·-C"·--·"$cur"))·;; |
200 | ········-t|--set-tree)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 200 | ········-t|--set-tree)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
201 | ········*)·COMPREPLY=($(compgen·-W·"$(_applied_patches) | 201 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$(_hidden_patches)·$(_applied_patches)·$flags"·--·"$cur"))·;; |
202 | ····esac | 202 | ····esac |
203 | } | 203 | } |
204 | _stg_export·() | 204 | _stg_export·() |
205 | { | 205 | { |
206 | ····local·flags="--branch·--diff-opts·--dir·--extension·--help·--numbered·--patch·--stdout·--template" | 206 | ····local·flags="--branch·--diff-opts·--dir·--extension·--help·--numbered·--patch·--stdout·--template" |
207 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 207 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
208 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 208 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
209 | ····case·"$prev"·in | 209 | ····case·"$prev"·in |
210 | ········-d|--dir)·COMPREPLY=($(compgen·-A·directory·--·"$cur"))·;; | 210 | ········-d|--dir)·COMPREPLY=($(compgen·-A·directory·--·"$cur"))·;; |
211 | ········-e|--extension)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 211 | ········-e|--extension)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
212 | ········-t|--template)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 212 | ········-t|--template)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
213 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; | 213 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; |
214 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"- | 214 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-M·-C"·--·"$cur"))·;; |
215 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_hidden_patches)·$(_ | 215 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_unapplied_patches)·$(_hidden_patches)·$(_applied_patches)"·"$cur")·$flags"·--·"$cur"))·;; |
216 | ····esac | 216 | ····esac |
217 | } | 217 | } |
218 | _stg_files·() | 218 | _stg_files·() |
219 | { | 219 | { |
220 | ····local·flags="--bare·--diff-opts·--help·--stat" | 220 | ····local·flags="--bare·--diff-opts·--help·--stat" |
221 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 221 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
222 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 222 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
223 | ····case·"$prev"·in | 223 | ····case·"$prev"·in |
224 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"- | 224 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-M·-C"·--·"$cur"))·;; |
225 | ········*)·COMPREPLY=($(compgen·-W·"$(_applied_patches) | 225 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$(_hidden_patches)·$(_applied_patches)·$flags"·--·"$cur"))·;; |
226 | ····esac | 226 | ····esac |
227 | } | 227 | } |
228 | _stg_float·() | 228 | _stg_float·() |
229 | { | 229 | { |
230 | ····local·flags="--help·--keep·--series" | 230 | ····local·flags="--help·--keep·--series" |
231 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 231 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
232 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 232 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
233 | ····case·"$prev"·in | 233 | ····case·"$prev"·in |
234 | ········-s|--series)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 234 | ········-s|--series)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
235 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_ | 235 | ········*)·COMPREPLY=($(compgen·-W·"$flags·$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
236 | ····esac | 236 | ····esac |
237 | } | 237 | } |
238 | _stg_fold·() | 238 | _stg_fold·() |
239 | { | 239 | { |
240 | ····local·flags="--base·--help·--reject·--strip·--threeway" | 240 | ····local·flags="--base·--help·--reject·--strip·--threeway" |
241 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 241 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 253, 36 lines modified | Offset 253, 36 lines modified | ||
253 | _stg_goto·() | 253 | _stg_goto·() |
254 | { | 254 | { |
255 | ····local·flags="--help·--keep·--merged" | 255 | ····local·flags="--help·--keep·--merged" |
256 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 256 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
257 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 257 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
258 | ····case·"$prev"·in | 258 | ····case·"$prev"·in |
259 | ········*)·COMPREPLY=($(compgen·-W·"$(_other_applied_patches)·$ | 259 | ········*)·COMPREPLY=($(compgen·-W·"$(_other_applied_patches)·$(_unapplied_patches)·$flags"·--·"$cur"))·;; |
260 | ····esac | 260 | ····esac |
261 | } | 261 | } |
262 | _stg_hide·() | 262 | _stg_hide·() |
263 | { | 263 | { |
264 | ····local·flags="--branch·--help" | 264 | ····local·flags="--branch·--help" |
265 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 265 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
266 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 266 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
267 | ····case·"$prev"·in | 267 | ····case·"$prev"·in |
268 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; | 268 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; |
269 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_ | 269 | ········*)·COMPREPLY=($(compgen·-W·"$flags·$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
270 | ····esac | 270 | ····esac |
271 | } | 271 | } |
272 | _stg_id·() | 272 | _stg_id·() |
273 | { | 273 | { |
274 | ····local·flags="--help" | 274 | ····local·flags="--help" |
275 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 275 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
276 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 276 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
277 | ····case·"$prev"·in | 277 | ····case·"$prev"·in |
278 | ········*)·COMPREPLY=($(compgen·-W·"$(_applied_patches) | 278 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$(_hidden_patches)·$(_applied_patches)·$flags"·--·"$cur"))·;; |
279 | ····esac | 279 | ····esac |
280 | } | 280 | } |
281 | _stg_import·() | 281 | _stg_import·() |
Max diff block lines reached; 8906/15507 bytes (57.43%) of diff not shown. |
Offset 152, 38 lines modified | Offset 152, 38 lines modified | ||
152 | _stg_commit·() | 152 | _stg_commit·() |
153 | { | 153 | { |
154 | ····local·flags="--all·--help·--number" | 154 | ····local·flags="--all·--help·--number" |
155 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 155 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
156 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 156 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
157 | ····case·"$prev"·in | 157 | ····case·"$prev"·in |
158 | ········-n|--number)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 158 | ········-n|--number)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
159 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_ | 159 | ········*)·COMPREPLY=($(compgen·-W·"$flags·$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
160 | ····esac | 160 | ····esac |
161 | } | 161 | } |
162 | _stg_delete·() | 162 | _stg_delete·() |
163 | { | 163 | { |
164 | ····local·flags="--branch·--help·--spill·--top" | 164 | ····local·flags="--branch·--help·--spill·--top" |
165 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 165 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
166 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 166 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
167 | ····case·"$prev"·in | 167 | ····case·"$prev"·in |
168 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; | 168 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; |
169 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_ | 169 | ········*)·COMPREPLY=($(compgen·-W·"$flags·$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
170 | ····esac | 170 | ····esac |
171 | } | 171 | } |
172 | _stg_diff·() | 172 | _stg_diff·() |
173 | { | 173 | { |
174 | ····local·flags="--diff-opts·--help·--range·--stat" | 174 | ····local·flags="--diff-opts·--help·--range·--stat" |
175 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 175 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
176 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 176 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
177 | ····case·"$prev"·in | 177 | ····case·"$prev"·in |
178 | ········-r|--range)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_hidden_patches)·$(_ | 178 | ········-r|--range)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_unapplied_patches)·$(_hidden_patches)·$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
179 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"- | 179 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-M·-C"·--·"$cur"))·;; |
180 | ········*)·COMPREPLY=($(compgen·-W·"$(_dirty_files)·$(_known_files) | 180 | ········*)·COMPREPLY=($(compgen·-W·"$(_dirty_files)·$flags·$(_known_files)"·--·"$cur"))·;; |
181 | ····esac | 181 | ····esac |
182 | } | 182 | } |
183 | _stg_edit·() | 183 | _stg_edit·() |
184 | { | 184 | { |
185 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--diff·--diff-opts·--edit·--file·--help·--message·--no-verify·--review·--save-template·--set-tree·--sign" | 185 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--diff·--diff-opts·--edit·--file·--help·--message·--no-verify·--review·--save-template·--set-tree·--sign" |
186 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 186 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 192, 54 lines modified | Offset 192, 54 lines modified | ||
192 | ········-m|--message)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 192 | ········-m|--message)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
193 | ········-f|--file)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 193 | ········-f|--file)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
194 | ········--save-template)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 194 | ········--save-template)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
195 | ········--author)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 195 | ········--author)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
196 | ········--authname)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 196 | ········--authname)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
197 | ········--authemail)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 197 | ········--authemail)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
198 | ········--authdate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 198 | ········--authdate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
199 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"- | 199 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-M·-C"·--·"$cur"))·;; |
200 | ········-t|--set-tree)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 200 | ········-t|--set-tree)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
201 | ········*)·COMPREPLY=($(compgen·-W·"$(_applied_patches) | 201 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$(_hidden_patches)·$(_applied_patches)·$flags"·--·"$cur"))·;; |
202 | ····esac | 202 | ····esac |
203 | } | 203 | } |
204 | _stg_export·() | 204 | _stg_export·() |
205 | { | 205 | { |
206 | ····local·flags="--branch·--diff-opts·--dir·--extension·--help·--numbered·--patch·--stdout·--template" | 206 | ····local·flags="--branch·--diff-opts·--dir·--extension·--help·--numbered·--patch·--stdout·--template" |
207 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 207 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
208 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 208 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
209 | ····case·"$prev"·in | 209 | ····case·"$prev"·in |
210 | ········-d|--dir)·COMPREPLY=($(compgen·-A·directory·--·"$cur"))·;; | 210 | ········-d|--dir)·COMPREPLY=($(compgen·-A·directory·--·"$cur"))·;; |
211 | ········-e|--extension)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 211 | ········-e|--extension)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
212 | ········-t|--template)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 212 | ········-t|--template)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
213 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; | 213 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; |
214 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"- | 214 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-M·-C"·--·"$cur"))·;; |
215 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_hidden_patches)·$(_ | 215 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_unapplied_patches)·$(_hidden_patches)·$(_applied_patches)"·"$cur")·$flags"·--·"$cur"))·;; |
216 | ····esac | 216 | ····esac |
217 | } | 217 | } |
218 | _stg_files·() | 218 | _stg_files·() |
219 | { | 219 | { |
220 | ····local·flags="--bare·--diff-opts·--help·--stat" | 220 | ····local·flags="--bare·--diff-opts·--help·--stat" |
221 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 221 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
222 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 222 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
223 | ····case·"$prev"·in | 223 | ····case·"$prev"·in |
224 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"- | 224 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-M·-C"·--·"$cur"))·;; |
225 | ········*)·COMPREPLY=($(compgen·-W·"$(_applied_patches) | 225 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$(_hidden_patches)·$(_applied_patches)·$flags"·--·"$cur"))·;; |
226 | ····esac | 226 | ····esac |
227 | } | 227 | } |
228 | _stg_float·() | 228 | _stg_float·() |
229 | { | 229 | { |
230 | ····local·flags="--help·--keep·--series" | 230 | ····local·flags="--help·--keep·--series" |
231 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 231 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
232 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 232 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
233 | ····case·"$prev"·in | 233 | ····case·"$prev"·in |
234 | ········-s|--series)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 234 | ········-s|--series)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
235 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_ | 235 | ········*)·COMPREPLY=($(compgen·-W·"$flags·$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
236 | ····esac | 236 | ····esac |
237 | } | 237 | } |
238 | _stg_fold·() | 238 | _stg_fold·() |
239 | { | 239 | { |
240 | ····local·flags="--base·--help·--reject·--strip·--threeway" | 240 | ····local·flags="--base·--help·--reject·--strip·--threeway" |
241 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 241 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 253, 36 lines modified | Offset 253, 36 lines modified | ||
253 | _stg_goto·() | 253 | _stg_goto·() |
254 | { | 254 | { |
255 | ····local·flags="--help·--keep·--merged" | 255 | ····local·flags="--help·--keep·--merged" |
256 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 256 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
257 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 257 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
258 | ····case·"$prev"·in | 258 | ····case·"$prev"·in |
259 | ········*)·COMPREPLY=($(compgen·-W·"$(_other_applied_patches)·$ | 259 | ········*)·COMPREPLY=($(compgen·-W·"$(_other_applied_patches)·$(_unapplied_patches)·$flags"·--·"$cur"))·;; |
260 | ····esac | 260 | ····esac |
261 | } | 261 | } |
262 | _stg_hide·() | 262 | _stg_hide·() |
263 | { | 263 | { |
264 | ····local·flags="--branch·--help" | 264 | ····local·flags="--branch·--help" |
265 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 265 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
266 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 266 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
267 | ····case·"$prev"·in | 267 | ····case·"$prev"·in |
268 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; | 268 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; |
269 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)·$(_ | 269 | ········*)·COMPREPLY=($(compgen·-W·"$flags·$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
270 | ····esac | 270 | ····esac |
271 | } | 271 | } |
272 | _stg_id·() | 272 | _stg_id·() |
273 | { | 273 | { |
274 | ····local·flags="--help" | 274 | ····local·flags="--help" |
275 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 275 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
276 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 276 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
277 | ····case·"$prev"·in | 277 | ····case·"$prev"·in |
278 | ········*)·COMPREPLY=($(compgen·-W·"$(_applied_patches) | 278 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$(_hidden_patches)·$(_applied_patches)·$flags"·--·"$cur"))·;; |
279 | ····esac | 279 | ····esac |
280 | } | 280 | } |
281 | _stg_import·() | 281 | _stg_import·() |
Max diff block lines reached; 8906/15507 bytes (57.43%) of diff not shown. |