Commit 69a9bd4
committed
feat: add 'reset to custom ref' option in git reset menu
Adds a new menu item (key 'c') to the git reset menu that prompts the
user to enter an arbitrary ref to reset to. The prompt includes
autocomplete suggestions from all known refs (local branches, remote
branches, tags, HEAD, etc.). After confirming the ref, the standard
soft/mixed/hard type selection menu is shown.
Closes #19851 parent ec7d6b4 commit 69a9bd4
File tree
3 files changed
+29
-4
lines changed- pkg
- gui
- controllers/helpers
- i18n
3 files changed
+29
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
30 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
280 | 283 | | |
281 | 284 | | |
282 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
283 | 304 | | |
284 | 305 | | |
285 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| 499 | + | |
| 500 | + | |
499 | 501 | | |
500 | 502 | | |
501 | 503 | | |
| |||
1618 | 1620 | | |
1619 | 1621 | | |
1620 | 1622 | | |
| 1623 | + | |
| 1624 | + | |
1621 | 1625 | | |
1622 | 1626 | | |
1623 | 1627 | | |
| |||
0 commit comments