jesseduffield.lazygit/pkg/commands
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
..
git_commands Show update-ref commands in rebase todo list 2023-04-15 08:36:03 +02:00
git_config remove deprecated calls 2022-09-17 15:10:41 -07:00
hosting_service fix: generalize parsing of ssh git urls 2023-04-03 12:10:30 +10:00
models Store commit.Action as an enum instead of a string 2023-04-15 08:36:03 +02:00
oscommands Change OpenCommand to Open and OpenLinkCommand to OpenLink 2023-04-13 13:14:00 +02:00
patch rename patch manager to patch builder 2023-03-19 16:35:57 +11:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
types/enums more refactoring 2022-01-04 09:07:15 +11:00
git.go rename patch manager to patch builder 2023-03-19 16:35:57 +11:00
git_cmd_obj_builder.go WIP 2022-01-04 09:07:15 +11:00
git_cmd_obj_runner.go fix(loaders/file.go): changed to ignore stderr when loading git status 2022-09-19 18:46:32 +09:00
git_test.go feat: add GitVersion struct 2022-12-30 20:01:14 +09:00