lazygit/pkg/commands/oscommands
Jesse Duffield fdff2dec79 Remove redundant variable dedeclarations
In go 1.22, loop variables are redeclared with each iteration of the
loop, rather than simple updated on each iteration. This means that we
no longer need to manually redeclare variables when they're closed over
by a function.
2024-05-19 16:38:21 +10:00
..
cmd_obj.go Remove secureexec package 2023-07-30 19:59:51 +10:00
cmd_obj_builder.go Refactor repo_paths.go to use git rev-parse 2024-01-24 08:40:01 +01:00
cmd_obj_runner.go Use ScanLinesAndTruncateWhenLongerThanBuffer instead of bufio.ScanLines 2024-05-15 13:27:01 +02:00
cmd_obj_runner_default.go more refactoring 2022-01-09 14:09:53 +11:00
cmd_obj_runner_test.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
cmd_obj_runner_win.go add deadlock mutex package 2022-08-07 11:16:14 +10:00
cmd_obj_test.go Remove secureexec package 2023-07-30 19:59:51 +10:00
copy.go chore: use errors.New to replace fmt.Errorf with no parameters. 2024-04-24 16:21:34 +08:00
dummies.go use tempdir in tests to prevent polluting worktree 2022-11-13 14:10:21 +11:00
fake_cmd_obj_runner.go Remove secureexec package 2023-07-30 19:59:51 +10:00
gui_io.go Use first class task objects instead of global counter 2023-07-09 21:30:19 +10:00
os.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
os_default_platform.go update tests 2022-01-04 09:07:15 +11:00
os_default_test.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
os_test.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
os_windows.go update tests 2022-01-04 09:07:15 +11:00
os_windows_test.go Remove secureexec package 2023-07-30 19:59:51 +10:00