1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg
Stefan Haller 98e6c119f5 Select same commit again after pressing "e" to edit a commit
When editing a commit, the index of the current commit can change; for example,
when merge commits are involved, or when working with stacked branches where
"update-ref" commands may be added above the selected commit.

Reselect the current commit after pressing "e"; this requires doing the refresh
blocking on the main thread. (Another option that I considered was to use a
SYNC refresh, and then select the new line with an OnUIThread inside the Then
function. This also works, but results in a very visible lag.)
2023-08-22 14:08:12 +02:00
..
app Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
cheatsheet Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
commands Add key binding for switching from the commit message panel to an editor 2023-08-21 10:03:34 +02:00
common Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
config Add key binding for switching from the commit message panel to an editor 2023-08-21 10:03:34 +02:00
constants
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes
gui Select same commit again after pressing "e" to edit a commit 2023-08-22 14:08:12 +02:00
i18n Mention ctrl+o binding in commit message sub title 2023-08-21 10:03:34 +02:00
integration Select same commit again after pressing "e" to edit a commit 2023-08-22 14:08:12 +02:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake
tasks Remove secureexec package 2023-07-30 19:59:51 +10:00
theme Add a "Mark commit as base commit for rebase" command 2023-07-31 08:41:41 +02:00
updates
utils Fix arg order to asserts 2023-08-19 19:10:25 +03:00