jesseduffield.lazygit/pkg
Stefan Haller d99ceb91ee Don't get reflog commits twice unnecessarily in filtering mode
I can only guess what happened here: in aa750c0819, this code to manually load
the reflog commits was added, to make sorting branches by recency work when the
reflog is filtered by path. At that time we didn't have separate ReflogCommits
and FilteredReflogCommits models yet. Then, FilteredReflogCommits was introduced
(in 8822c409e2), probably for the very purpose of being able to get rid of this
again; but then it was forgotton to actually get rid of it.

The funny thing is that the introduction of FilteredReflogCommits happened in
the very next commit, 15 minutes later.
2025-07-27 12:05:41 +02:00
..
app Bump minimum required git version to 2.32 2025-07-09 12:18:57 +02:00
cheatsheet fix: broken markdown by replace \n into <md> 2025-07-06 10:11:49 +02:00
commands Cleanup: simplify git arguments for reflog loading 2025-07-27 12:05:41 +02:00
common Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
config Add new command "Checkout previous branch" 2025-07-12 18:17:25 +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 Don't get reflog commits twice unnecessarily in filtering mode 2025-07-27 12:05:41 +02:00
i18n Add confirmation for nuking the working tree 2025-07-13 14:04:14 +02:00
integration Add test that demonstrates problem with showing filtered history of file with renames 2025-07-27 12:05:41 +02:00
jsonschema Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
tasks Enable revive linter, and fix a bunch of warnings 2025-06-30 19:13:20 +02:00
theme Highlight inactive selection in bold 2024-06-23 14:43:13 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Enable revive linter, and fix a bunch of warnings 2025-06-30 19:13:20 +02:00