jesseduffield.lazygit/pkg
Stefan Haller 35af886f55 Refresh branches and reflog independently when sorting branches by date
When branches are sorted by recency we have this logic that first loads the
branches so that they can be rendered quickly; in parallel, it starts loading
the reflog in the background, and when that's done, it loads the branches again
so that they get their recency values. This means that branches are loaded twice
at startup.

We don't need this logic when branches are not sorted by recency, so we can
simply load branches and reflog in parallel like everything else.

This shouldn't change any user observable behavior, it just avoids doing
unnecessary work at startup.
2024-05-29 13:46:53 +02:00
..
app Drop update-ref commands at the top of the rebase-todo file 2024-04-22 20:59:15 +02:00
cheatsheet Render keybinding cheatsheet as markdown table 2024-01-28 08:12:01 +11:00
commands Correctly request force-pushing in triangular workflows 2024-05-19 09:44:38 +02:00
common Add AppState to common.Common 2023-09-04 17:48:39 +02:00
config Add property outputTitle to CustomCommand 2024-05-20 21:02:49 +02:00
constants Make the links in the status panel point to the current version rather than master 2024-03-22 08:13:59 +01:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Refresh branches and reflog independently when sorting branches by date 2024-05-29 13:46:53 +02:00
i18n Fix tooltip of fixup command 2024-05-26 19:30:38 +02:00
integration Add property outputTitle to CustomCommand 2024-05-20 21:02:49 +02:00
jsonschema Add default lazygit config generator for Config.md from JSON schema 2024-05-19 14:08:05 +02:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Use ScanLinesAndTruncateWhenLongerThanBuffer instead of bufio.ScanLines 2024-05-15 13:27:01 +02:00
theme pkg: fix some comment 2024-04-07 16:09:26 +08:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00