1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg/gui/presentation
Stefan Haller 227b0b781c Show update-ref commands in rebase todo list
This is useful when working with stacked branches, because you can now move
"pick" entries across an update-ref command and you can tell exactly which
branch the commit will end up in.

It's also useful to spot situations where the --update-refs option didn't work
as desired. For example, if you duplicate a branch and want to rebase only one
of the branches but not the other (maybe for testing); if you have
rebase.updateRefs=true in your git config, then rebasing one branch will move
the other branch along. To solve this we'll have to introduce a way to delete
the update-ref entry (maybe by hitting backspace?); this is out of scope for
this PR, so for now users will have to type "git rebase --edit-todo" into the
custom command prompt to sort this out.

We will also have to prevent users from trying to turn update-ref commands into
other commands like "pick" or "drop"; we'll do this later in this branch.
2023-04-15 08:36:03 +02:00
..
authors Add shared function for loading map of custom colors 2022-02-01 18:55:45 +11:00
graph Fix deprecated rand.Seed 2023-03-19 10:00:19 +01:00
icons Add icon for Kotlin script files 2023-02-25 15:14:26 +01:00
branches.go feat(gui): show branch icons 2022-04-23 12:25:41 +09:00
commits_test.go Store commit.Action as an enum instead of a string 2023-04-15 08:36:03 +02:00
commits.go Show update-ref commands in rebase todo list 2023-04-15 08:36:03 +02:00
files_test.go rename patch manager to patch builder 2023-03-19 16:35:57 +11:00
files.go rename patch manager to patch builder 2023-03-19 16:35:57 +11:00
menu.go refactor contexts 2022-03-17 19:13:40 +11:00
reflog_commits.go Fix github linter errors 2022-07-30 08:10:29 +02:00
remote_branches.go feat(gui): show branch icons 2022-04-23 12:25:41 +09:00
remotes.go feat(gui): show remote icons 2022-04-23 12:25:42 +09:00
stash_entries.go feat: add stash icon 2022-10-14 21:58:58 +09:00
submodules.go many more generics 2022-03-24 20:14:41 +11:00
suggestions.go many more generics 2022-03-24 20:14:41 +11:00
tags.go show tag message 2023-02-20 19:01:08 +11:00