jesseduffield.lazygit/pkg/commands
cobyfrombrooklyn-bot 30154aa9c5 Fix #5302: Create .git/info directory before writing exclude file
When .git/info directory does not exist (can happen with bare clones
or manual deletion), the Exclude function failed with 'no such file
or directory'. Added os.MkdirAll to create the directory before
opening the exclude file.

Added integration test exclude_without_info_dir that removes .git/info
before attempting to exclude a file.
2026-03-08 16:23:39 +01:00
..
git_commands Fix #5302: Create .git/info directory before writing exclude file 2026-03-08 16:23:39 +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 refactor: use strings.Builder and strings.Repeat to simplify code 2025-12-03 18:34:21 +01:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
git.go Add PagerConfig 2025-10-14 12:17:13 +02: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