jesseduffield.lazygit/pkg/commands
Stefan Haller ad31400818 Improve performance of discarding changes in large directories
Previously it would iterate over all changed files and call git checkout or git
reset for each one, which can take forever if there are hundreds or thousands of
files. Now it batches these into a single command if possible (taking care of
still passing the individual path names to the git call rather than just the
directory, which is necessary for making it work correctly when filtering --
this was actually broken for the "Discard unstaged changes" command, which is
fixed here).
2026-03-27 14:34:47 +01:00
..
git_commands Improve performance of discarding changes in large directories 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