jesseduffield.lazygit/pkg/commands
Stefan Haller 5b829a6721 Add unit tests for WorkingTreeDiscard{All,Unstaged}DirChanges
We have integration tests for this functionality, but those only test the
behavior, not the performance. In these unit tests you can see that we make
individual calls to git checkout and git reset for each file, which is very slow
when there are lots of files.
2026-03-27 14:34:47 +01:00
..
git_commands Add unit tests for WorkingTreeDiscard{All,Unstaged}DirChanges 2026-03-27 14:34:47 +01:00
git_config Enable errorlint linter, and fix warnings 2025-06-30 18:30:11 +02:00
hosting_service feat: add Codeberg as a supported git hosting service 2025-12-21 14:10:59 +01:00
models Show branch name and detached HEAD in worktrees tab 2026-03-08 12:51:46 +01:00
oscommands Suppress output from background fetch 2025-11-15 18:27:18 +01:00
patch Fix selection after staging an added line 2026-03-19 16:57:53 +01:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
git.go Remove go-git repo from GitCommon 2026-03-27 14:08:07 +01:00
git_cmd_obj_builder.go Remove ICmdObj interface 2025-05-01 15:21:37 +02:00
git_cmd_obj_runner.go Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00