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 | ·a7aef84d43be24a6217c37f161b5ae1b·106652·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···103 | 3 | -rw-r--r--···0········0········0···103192·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 | ····'repair':·( | ||
4 | ········'repair', | ||
5 | ········'Stack·(branch)·commands', | ||
6 | ········'Fix·StGit·metadata·if·branch·was·modified·with·git·commands', | ||
7 | ····), | ||
8 | ····' | 3 | ····'top':·( |
9 | ········' | 4 | ········'top', |
10 | ········'Patch·commands', | ||
11 | ········'Import·a·patch·from·a·different·branch·or·a·commit·object', | ||
12 | ····), | ||
13 | ····'next':·( | ||
14 | ········'next', | ||
15 | ········'Stack·(branch)·commands', | 5 | ········'Stack·(branch)·commands', |
16 | ········'Print·the·name·of·the· | 6 | ········'Print·the·name·of·the·top·patch', |
17 | ····), | 7 | ····), |
18 | ····'clean':·( | ||
19 | ···· | 8 | ····'squash':·( |
9 | ········'squash', | ||
20 | ········'Stack·(branch)·commands', | 10 | ········'Stack·(branch)·commands', |
21 | ········' | 11 | ········'Squash·two·or·more·patches·into·one', |
22 | ····), | 12 | ····), |
23 | ····' | 13 | ····'patches':·( |
24 | ········' | 14 | ········'patches', |
25 | ········'Stack·(branch)·commands', | 15 | ········'Stack·(branch)·commands', |
16 | ········'Show·the·applied·patches·modifying·a·file', | ||
26 | ········'Push·patches·to·the·top,·even·if·applied', | ||
27 | ····), | ||
28 | ····'export':·( | ||
29 | ········'export', | ||
30 | ········'Patch·commands', | ||
31 | ········'Export·patches·to·a·directory', | ||
32 | ····), | 17 | ····), |
33 | ····' | 18 | ····'fold':·( |
34 | ········' | 19 | ········'fold', |
35 | ········'Patch·commands', | 20 | ········'Patch·commands', |
36 | ········' | 21 | ········'Integrate·a·GNU·diff·patch·into·the·current·patch', |
37 | ····), | 22 | ····), |
38 | ····'pop':·( | 23 | ····'pop':·( |
39 | ········'pop', | 24 | ········'pop', |
40 | ········'Stack·(branch)·commands', | 25 | ········'Stack·(branch)·commands', |
41 | ········'Pop·one·or·more·patches·from·the·stack', | 26 | ········'Pop·one·or·more·patches·from·the·stack', |
42 | ····), | 27 | ····), |
43 | ····'unhide':·( | ||
44 | ········'unhide', | ||
45 | ········'Stack·(branch)·commands', | ||
46 | ········'Unhide·a·hidden·patch', | ||
47 | ····), | ||
48 | ····' | 28 | ····'edit':·( |
49 | ········' | 29 | ········'edit', |
50 | ········' | 30 | ········'Patch·commands', |
51 | ········' | 31 | ········'Edit·a·patch·description·or·diff', |
52 | ····), | 32 | ····), |
53 | ····'prev':·( | 33 | ····'prev':·( |
54 | ········'prev', | 34 | ········'prev', |
55 | ········'Stack·(branch)·commands', | 35 | ········'Stack·(branch)·commands', |
56 | ········'Print·the·name·of·the·previous·patch', | 36 | ········'Print·the·name·of·the·previous·patch', |
57 | ····), | 37 | ····), |
58 | ····' | 38 | ····'sync':·( |
59 | ········' | 39 | ········'sync', |
60 | ········' | 40 | ········'Patch·commands', |
61 | ········' | 41 | ········'Synchronise·patches·with·a·branch·or·a·series', |
62 | ····), | 42 | ····), |
63 | ····'reset':·( | 43 | ····'reset':·( |
64 | ········'reset', | 44 | ········'reset', |
65 | ········'Stack·(branch)·commands', | 45 | ········'Stack·(branch)·commands', |
66 | ········'Reset·the·patch·stack·to·an·earlier·state', | 46 | ········'Reset·the·patch·stack·to·an·earlier·state', |
67 | ····), | 47 | ····), |
68 | ····'mail':·( | ||
69 | ···· | 48 | ····'undo':·( |
49 | ········'undo', | ||
70 | ········' | 50 | ········'Stack·(branch)·commands', |
71 | ········' | 51 | ········'Undo·the·last·operation', |
72 | ····), | 52 | ····), |
73 | ····'id':·( | 53 | ····'id':·( |
74 | ········'id', | 54 | ········'id', |
75 | ········'Repository·commands', | 55 | ········'Repository·commands', |
76 | ········'Print·the·git·hash·value·of·a·StGit·reference', | 56 | ········'Print·the·git·hash·value·of·a·StGit·reference', |
77 | ····), | 57 | ····), |
58 | ····'clone':·( | ||
59 | ········'clone', | ||
60 | ········'Repository·commands', | ||
61 | ········'Make·a·local·clone·of·a·remote·repository', | ||
62 | ····), | ||
63 | ····'files':·( | ||
64 | ········'files', | ||
65 | ········'Patch·commands', | ||
66 | ········'Show·the·files·modified·by·a·patch·(or·the·current·patch)', | ||
67 | ····), | ||
68 | ····'redo':·( | ||
69 | ········'redo', | ||
70 | ········'Stack·(branch)·commands', | ||
71 | ········'Undo·the·last·undo·operation', | ||
72 | ····), | ||
73 | ····'float':·( | ||
74 | ········'float', | ||
75 | ········'Stack·(branch)·commands', | ||
76 | ········'Push·patches·to·the·top,·even·if·applied', | ||
77 | ····), | ||
78 | ····'rename':·( | 78 | ····'rename':·( |
79 | ········'rename', | 79 | ········'rename', |
80 | ········'Patch·commands', | 80 | ········'Patch·commands', |
81 | ········'Rename·a·patch', | 81 | ········'Rename·a·patch', |
82 | ····), | 82 | ····), |
83 | ····' | 83 | ····'init':·( |
84 | ········' | 84 | ········'init', |
85 | ········'Stack·(branch)·commands', | 85 | ········'Stack·(branch)·commands', |
86 | ········' | 86 | ········'Initialise·the·current·branch·for·use·with·StGIT', |
87 | ····), | 87 | ····), |
88 | ····'diff':·( | ||
89 | ········'diff', | ||
90 | ········'Index/worktree·commands', | ||
91 | ···· | 88 | ····'pull':·( |
89 | ········'pull', | ||
90 | ········'Stack·(branch)·commands', | ||
91 | ········'Pull·changes·from·a·remote·repository', | ||
92 | ····), | 92 | ····), |
93 | ····'squash':·( | ||
94 | ···· | 93 | ····'uncommit':·( |
94 | ········'uncommit', | ||
95 | ········'Stack·(branch)·commands', | 95 | ········'Stack·(branch)·commands', |
96 | ········' | 96 | ········'Turn·regular·git·commits·into·StGit·patches', |
97 | ····), | ||
98 | ····'clean':·( | ||
99 | ········'clean', | ||
Max diff block lines reached; 4088/8630 bytes (47.37%) of diff not shown. |
Offset 175, 15 lines modified | Offset 175, 15 lines modified | ||
175 | { | 175 | { |
176 | ····local·flags="--diff-opts·--help·--range·--stat" | 176 | ····local·flags="--diff-opts·--help·--range·--stat" |
177 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 177 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
178 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 178 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
179 | ····case·"$prev"·in | 179 | ····case·"$prev"·in |
180 | ········-r|--range)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)·$(_hidden_patches)"·"$cur")"·--·"$cur"))·;; | 180 | ········-r|--range)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)·$(_hidden_patches)"·"$cur")"·--·"$cur"))·;; |
181 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-C·-M"·--·"$cur"))·;; | 181 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-C·-M"·--·"$cur"))·;; |
182 | ········*)·COMPREPLY=($(compgen·-W·"$ | 182 | ········*)·COMPREPLY=($(compgen·-W·"$(_dirty_files)·$flags·$(_known_files)"·--·"$cur"))·;; |
183 | ····esac | 183 | ····esac |
184 | } | 184 | } |
185 | _stg_edit·() | 185 | _stg_edit·() |
186 | { | 186 | { |
187 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--diff·--diff-opts·--edit·--file·--help·--message·--no-verify·--review·--save-template·--set-tree·--sign" | 187 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--diff·--diff-opts·--edit·--file·--help·--message·--no-verify·--review·--save-template·--set-tree·--sign" |
188 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 188 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 194, 15 lines modified | Offset 194, 15 lines modified | ||
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·"-C·-M"·--·"$cur"))·;; | 199 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-C·-M"·--·"$cur"))·;; |
200 | ········-t|--set-tree)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 200 | ········-t|--set-tree)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
201 | ········*)·COMPREPLY=($(compgen·-W·"$ | 201 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$flags·$(_applied_patches)·$(_hidden_patches)"·--·"$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]}" |
Offset 220, 15 lines modified | Offset 220, 15 lines modified | ||
220 | _stg_files·() | 220 | _stg_files·() |
221 | { | 221 | { |
222 | ····local·flags="--bare·--diff-opts·--help·--stat" | 222 | ····local·flags="--bare·--diff-opts·--help·--stat" |
223 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 223 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
224 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 224 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
225 | ····case·"$prev"·in | 225 | ····case·"$prev"·in |
226 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-C·-M"·--·"$cur"))·;; | 226 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-C·-M"·--·"$cur"))·;; |
227 | ········*)·COMPREPLY=($(compgen·-W·"$ | 227 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$flags·$(_applied_patches)·$(_hidden_patches)"·--·"$cur"))·;; |
228 | ····esac | 228 | ····esac |
229 | } | 229 | } |
230 | _stg_float·() | 230 | _stg_float·() |
231 | { | 231 | { |
232 | ····local·flags="--help·--keep·--series" | 232 | ····local·flags="--help·--keep·--series" |
233 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 233 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 274, 15 lines modified | Offset 274, 15 lines modified | ||
274 | _stg_id·() | 274 | _stg_id·() |
275 | { | 275 | { |
276 | ····local·flags="--help" | 276 | ····local·flags="--help" |
277 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 277 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
278 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 278 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
279 | ····case·"$prev"·in | 279 | ····case·"$prev"·in |
280 | ········*)·COMPREPLY=($(compgen·-W·"$ | 280 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$flags·$(_applied_patches)·$(_hidden_patches)"·--·"$cur"))·;; |
281 | ····esac | 281 | ····esac |
282 | } | 282 | } |
283 | _stg_import·() | 283 | _stg_import·() |
284 | { | 284 | { |
285 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--base·--edit·--help·--ignore·--mail·--mbox·--name·--reject·--replace·--review·--series·--showdiff·--sign·--strip·--stripname·--url" | 285 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--base·--edit·--help·--ignore·--mail·--mbox·--name·--reject·--replace·--review·--series·--showdiff·--sign·--strip·--stripname·--url" |
286 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 286 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 401, 15 lines modified | Offset 401, 15 lines modified | ||
401 | _stg_pop·() | 401 | _stg_pop·() |
402 | { | 402 | { |
403 | ····local·flags="--all·--help·--keep·--number·--spill" | 403 | ····local·flags="--all·--help·--keep·--number·--spill" |
404 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 404 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
405 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 405 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
406 | ····case·"$prev"·in | 406 | ····case·"$prev"·in |
407 | ········-n|--number)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 407 | ········-n|--number)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
408 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)"·"$cur") | 408 | ········*)·COMPREPLY=($(compgen·-W·"$flags·$(_patch_range·"$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
409 | ····esac | 409 | ····esac |
410 | } | 410 | } |
411 | _stg_prev·() | 411 | _stg_prev·() |
412 | { | 412 | { |
413 | ····local·flags="--branch·--help" | 413 | ····local·flags="--branch·--help" |
414 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 414 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 489, 26 lines modified | Offset 489, 26 lines modified | ||
489 | ········-a|--annotate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 489 | ········-a|--annotate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
490 | ········-m|--message)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 490 | ········-m|--message)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
491 | ········-f|--file)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 491 | ········-f|--file)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
492 | ········--author)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 492 | ········--author)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
493 | ········--authname)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 493 | ········--authname)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
494 | ········--authemail)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 494 | ········--authemail)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
495 | ········--authdate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 495 | ········--authdate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
496 | ········*)·COMPREPLY=($(compgen·-W·"$ | 496 | ········*)·COMPREPLY=($(compgen·-W·"$(_dirty_files)·$flags"·--·"$cur"))·;; |
497 | ····esac | 497 | ····esac |
498 | } | 498 | } |
499 | _stg_rename·() | 499 | _stg_rename·() |
500 | { | 500 | { |
501 | ····local·flags="--branch·--help" | 501 | ····local·flags="--branch·--help" |
502 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 502 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
503 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 503 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
504 | ····case·"$prev"·in | 504 | ····case·"$prev"·in |
505 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; | 505 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; |
506 | ········*)·COMPREPLY=($(compgen·-W·"$ | 506 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$flags·$(_applied_patches)·$(_hidden_patches)"·--·"$cur"))·;; |
507 | ····esac | 507 | ····esac |
508 | } | 508 | } |
509 | _stg_repair·() | 509 | _stg_repair·() |
510 | { | 510 | { |
511 | ····local·flags="--help" | 511 | ····local·flags="--help" |
512 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 512 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 626, 15 lines modified | Offset 626, 15 lines modified | ||
626 | _stg_unhide·() | 626 | _stg_unhide·() |
627 | { | 627 | { |
628 | ····local·flags="--branch·--help" | 628 | ····local·flags="--branch·--help" |
629 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 629 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
630 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 630 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
631 | ····case·"$prev"·in | 631 | ····case·"$prev"·in |
632 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; | 632 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; |
633 | ········*)·COMPREPLY=($(compgen·-W·"$ | 633 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_hidden_patches)"·"$cur")·$flags"·--·"$cur"))·;; |
634 | ····esac | 634 | ····esac |
635 | } | 635 | } |
636 | _stg·() | 636 | _stg·() |
637 | { | 637 | { |
638 | ····local·i | 638 | ····local·i |
639 | ····local·c=1 | 639 | ····local·c=1 |
Offset 175, 15 lines modified | Offset 175, 15 lines modified | ||
175 | { | 175 | { |
176 | ····local·flags="--diff-opts·--help·--range·--stat" | 176 | ····local·flags="--diff-opts·--help·--range·--stat" |
177 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 177 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
178 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 178 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
179 | ····case·"$prev"·in | 179 | ····case·"$prev"·in |
180 | ········-r|--range)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)·$(_hidden_patches)"·"$cur")"·--·"$cur"))·;; | 180 | ········-r|--range)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_unapplied_patches)·$(_applied_patches)·$(_hidden_patches)"·"$cur")"·--·"$cur"))·;; |
181 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-C·-M"·--·"$cur"))·;; | 181 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-C·-M"·--·"$cur"))·;; |
182 | ········*)·COMPREPLY=($(compgen·-W·"$ | 182 | ········*)·COMPREPLY=($(compgen·-W·"$(_dirty_files)·$flags·$(_known_files)"·--·"$cur"))·;; |
183 | ····esac | 183 | ····esac |
184 | } | 184 | } |
185 | _stg_edit·() | 185 | _stg_edit·() |
186 | { | 186 | { |
187 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--diff·--diff-opts·--edit·--file·--help·--message·--no-verify·--review·--save-template·--set-tree·--sign" | 187 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--diff·--diff-opts·--edit·--file·--help·--message·--no-verify·--review·--save-template·--set-tree·--sign" |
188 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 188 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 194, 15 lines modified | Offset 194, 15 lines modified | ||
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·"-C·-M"·--·"$cur"))·;; | 199 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-C·-M"·--·"$cur"))·;; |
200 | ········-t|--set-tree)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 200 | ········-t|--set-tree)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
201 | ········*)·COMPREPLY=($(compgen·-W·"$ | 201 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$flags·$(_applied_patches)·$(_hidden_patches)"·--·"$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]}" |
Offset 220, 15 lines modified | Offset 220, 15 lines modified | ||
220 | _stg_files·() | 220 | _stg_files·() |
221 | { | 221 | { |
222 | ····local·flags="--bare·--diff-opts·--help·--stat" | 222 | ····local·flags="--bare·--diff-opts·--help·--stat" |
223 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 223 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
224 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 224 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
225 | ····case·"$prev"·in | 225 | ····case·"$prev"·in |
226 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-C·-M"·--·"$cur"))·;; | 226 | ········-O|--diff-opts)·COMPREPLY=($(compgen·-W·"-C·-M"·--·"$cur"))·;; |
227 | ········*)·COMPREPLY=($(compgen·-W·"$ | 227 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$flags·$(_applied_patches)·$(_hidden_patches)"·--·"$cur"))·;; |
228 | ····esac | 228 | ····esac |
229 | } | 229 | } |
230 | _stg_float·() | 230 | _stg_float·() |
231 | { | 231 | { |
232 | ····local·flags="--help·--keep·--series" | 232 | ····local·flags="--help·--keep·--series" |
233 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 233 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 274, 15 lines modified | Offset 274, 15 lines modified | ||
274 | _stg_id·() | 274 | _stg_id·() |
275 | { | 275 | { |
276 | ····local·flags="--help" | 276 | ····local·flags="--help" |
277 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 277 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
278 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 278 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
279 | ····case·"$prev"·in | 279 | ····case·"$prev"·in |
280 | ········*)·COMPREPLY=($(compgen·-W·"$ | 280 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$flags·$(_applied_patches)·$(_hidden_patches)"·--·"$cur"))·;; |
281 | ····esac | 281 | ····esac |
282 | } | 282 | } |
283 | _stg_import·() | 283 | _stg_import·() |
284 | { | 284 | { |
285 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--base·--edit·--help·--ignore·--mail·--mbox·--name·--reject·--replace·--review·--series·--showdiff·--sign·--strip·--stripname·--url" | 285 | ····local·flags="--ack·--authdate·--authemail·--authname·--author·--base·--edit·--help·--ignore·--mail·--mbox·--name·--reject·--replace·--review·--series·--showdiff·--sign·--strip·--stripname·--url" |
286 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 286 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 401, 15 lines modified | Offset 401, 15 lines modified | ||
401 | _stg_pop·() | 401 | _stg_pop·() |
402 | { | 402 | { |
403 | ····local·flags="--all·--help·--keep·--number·--spill" | 403 | ····local·flags="--all·--help·--keep·--number·--spill" |
404 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 404 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
405 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 405 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
406 | ····case·"$prev"·in | 406 | ····case·"$prev"·in |
407 | ········-n|--number)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 407 | ········-n|--number)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
408 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_applied_patches)"·"$cur") | 408 | ········*)·COMPREPLY=($(compgen·-W·"$flags·$(_patch_range·"$(_applied_patches)"·"$cur")"·--·"$cur"))·;; |
409 | ····esac | 409 | ····esac |
410 | } | 410 | } |
411 | _stg_prev·() | 411 | _stg_prev·() |
412 | { | 412 | { |
413 | ····local·flags="--branch·--help" | 413 | ····local·flags="--branch·--help" |
414 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 414 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 489, 26 lines modified | Offset 489, 26 lines modified | ||
489 | ········-a|--annotate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 489 | ········-a|--annotate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
490 | ········-m|--message)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 490 | ········-m|--message)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
491 | ········-f|--file)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 491 | ········-f|--file)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
492 | ········--author)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 492 | ········--author)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
493 | ········--authname)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 493 | ········--authname)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
494 | ········--authemail)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 494 | ········--authemail)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
495 | ········--authdate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; | 495 | ········--authdate)·COMPREPLY=($(compgen·-A·file·--·"$cur"))·;; |
496 | ········*)·COMPREPLY=($(compgen·-W·"$ | 496 | ········*)·COMPREPLY=($(compgen·-W·"$(_dirty_files)·$flags"·--·"$cur"))·;; |
497 | ····esac | 497 | ····esac |
498 | } | 498 | } |
499 | _stg_rename·() | 499 | _stg_rename·() |
500 | { | 500 | { |
501 | ····local·flags="--branch·--help" | 501 | ····local·flags="--branch·--help" |
502 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 502 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
503 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 503 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
504 | ····case·"$prev"·in | 504 | ····case·"$prev"·in |
505 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; | 505 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; |
506 | ········*)·COMPREPLY=($(compgen·-W·"$ | 506 | ········*)·COMPREPLY=($(compgen·-W·"$(_unapplied_patches)·$flags·$(_applied_patches)·$(_hidden_patches)"·--·"$cur"))·;; |
507 | ····esac | 507 | ····esac |
508 | } | 508 | } |
509 | _stg_repair·() | 509 | _stg_repair·() |
510 | { | 510 | { |
511 | ····local·flags="--help" | 511 | ····local·flags="--help" |
512 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 512 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
Offset 626, 15 lines modified | Offset 626, 15 lines modified | ||
626 | _stg_unhide·() | 626 | _stg_unhide·() |
627 | { | 627 | { |
628 | ····local·flags="--branch·--help" | 628 | ····local·flags="--branch·--help" |
629 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" | 629 | ····local·prev="${COMP_WORDS[COMP_CWORD-1]}" |
630 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" | 630 | ····local·cur="${COMP_WORDS[COMP_CWORD]}" |
631 | ····case·"$prev"·in | 631 | ····case·"$prev"·in |
632 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; | 632 | ········-b|--branch)·COMPREPLY=($(compgen·-W·"$(_stg_branches)"·--·"$cur"))·;; |
633 | ········*)·COMPREPLY=($(compgen·-W·"$ | 633 | ········*)·COMPREPLY=($(compgen·-W·"$(_patch_range·"$(_hidden_patches)"·"$cur")·$flags"·--·"$cur"))·;; |
634 | ····esac | 634 | ····esac |
635 | } | 635 | } |
636 | _stg·() | 636 | _stg·() |
637 | { | 637 | { |
638 | ····local·i | 638 | ····local·i |
639 | ····local·c=1 | 639 | ····local·c=1 |