jesseduffield.lazygit/pkg/commands
Stefan Haller 6bb8c180b2 Handle scanner error in RunAndProcessLines
Scanners can return errors (e.g. ErrTooLong), and if we don't handle it, the
cmd.Wait() call below will block forever because nobody drains the command's
output.

This happens for CommitLoader.GetCommits when there's a commit whose subject
line is longer than approx. 65500 characters; in that case, lazygit would lock
up completely. With this fix it remains usable, but the commit list is truncated
before the bad commit, which is not good enough. We'll improve that in the
remaining commits of this branch.
2024-05-15 13:27:01 +02:00
..
git_commands chore: fix some comments and typos 2024-04-28 09:44:59 +02:00
git_config Remove secureexec package 2023-07-30 19:59:51 +10:00
hosting_service renaming variable to CommitHash 2024-04-12 08:33:47 +02:00
models Switch git-todo-parser from fsmiamoto original repo to stefanhaller's fork 2024-04-22 20:59:15 +02:00
oscommands Handle scanner error in RunAndProcessLines 2024-05-15 13:27:01 +02:00
patch standardize 'Commit Sha' to 'Commit Hash' 2024-04-12 08:31:40 +02:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
types/enums Show mode-specific keybinding suggestions 2024-01-28 08:33:13 +11:00
git.go Refactor repo_paths.go to use git rev-parse 2024-01-24 08:40:01 +01:00
git_cmd_obj_builder.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
git_cmd_obj_runner.go Retry on index.lock error 2023-07-10 19:13:18 +10:00