jesseduffield.lazygit/pkg/commands
Stefan Haller 5ba8d42c80 Fix the bug described in the previous commit
What happens here is that when stopping on an "edit" todo entry, we rely on the
assumption that if the .git/rebase-merge/amend file exists, the command was
successful, and if it doesn't, there was a conflict. The problem is that when
you stop on an edit command, and then run a multi-commit cherry-pick or rebase,
this will delete the amend file. You may or may not consider this a bug in git;
to work around it, we also check the existence of the rebase-merge/message file,
which will be deleted as well by the cherry-pick or revert.
2025-04-20 15:55:44 +02:00
..
git_commands Fix the bug described in the previous commit 2025-04-20 15:55:44 +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 Show original todo action instead of "conflict", and show <-- CONFLICT instead 2025-04-20 15:55:44 +02:00
oscommands Add config os.shellFunctionsFile 2025-04-07 14:35:40 +02:00
patch Adjust line number for working copy when editing a line 2025-01-07 17:46:51 +01: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 Add config os.shellFunctionsFile 2025-04-07 14:35:40 +02:00
git_cmd_obj_runner.go Retry on index.lock error 2023-07-10 19:13:18 +10:00