jesseduffield.lazygit/pkg/commands
Stefan Haller 206283d1f7 Fix moving a custom patch from the very first commit of the history to a later commit
This would crash with an index-out-of-range error.

I double-checked that all other callers of PrepareInteractiveRebaseCommand
already call getBaseHashOrRoot, so this was the only one that was broken.

I decided not to add a test for this as the scenario is not a very common one.
2025-06-19 18:43:17 +02:00
..
git_commands Fix moving a custom patch from the very first commit of the history to a later commit 2025-06-19 18:43:17 +02:00
git_config Drop the git config cache when getting focus 2025-03-20 11:50:28 +01:00
hosting_service URL encode gitlab brackets to make consistent with branch names 2025-03-12 09:04:04 +11:00
models Add unambigious refs/ prefix to all stash references 2025-06-15 16:14:59 +02:00
oscommands Kill background fetch when it requests a passphrase 2025-05-29 14:36:01 +02:00
patch Remove utils.Clamp, use lo.Clamp instead 2025-04-21 18:03:18 +02:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
git.go Use WorkingTreeState instead of RebaseMode in CommitLoader 2025-04-20 15:53:17 +02:00
git_cmd_obj_builder.go Remove ICmdObj interface 2025-05-01 15:21:37 +02:00
git_cmd_obj_runner.go Remove ICmdObj interface 2025-05-01 15:21:37 +02:00