jesseduffield.lazygit/pkg/integration/tests/misc
Stefan Haller 00c0c4c061 Demonstrate that the recent repos menu can't read a submodule's branch
The menu shows "Branch unknown" for every submodule, whatever it has
checked out. A submodule has no .git directory; its .git is a file
naming the directory, and for a submodule git writes that name relative
to the submodule. We hand it to os.ReadFile unchanged, so it resolves
against lazygit's own working directory and the read fails. A worktree
created with --relative-paths (or with worktree.useRelativePaths set)
gets a relative name too, and fails the same way.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-14 10:49:29 +02:00
..
confirm_on_quit.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
copy_confirmation_message_to_clipboard.go Add "CopyToClipboard" command to ConfirmationController 2025-08-15 17:17:06 +02:00
copy_to_clipboard.go Cleanup: remove unnecessary code in test 2025-08-15 17:17:06 +02:00
direnv_approves_envrc.go Offer direnv .envrc approval from inside lazygit 2026-06-04 09:05:01 +02:00
direnv_loaded_on_repo_switch.go Load direnv environment when switching repos 2026-06-04 09:05:01 +02:00
direnv_unloads_on_blocked_envrc.go Offer direnv .envrc approval from inside lazygit 2026-06-04 09:05:01 +02:00
filter_recent_repos.go Filter the recent repositories menu as you type 2026-08-31 20:41:22 +02:00
initial_open.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
recent_repos_branch_column.go Demonstrate that the recent repos menu can't read a submodule's branch 2026-09-14 10:49:29 +02:00
recent_repos_column_widths.go Truncate the path column of the recent repos menu too 2026-09-14 09:23:26 +02:00
recent_repos_on_launch.go [DATALAD RUNCMD] run codespell throughout fixing typos automagically 2024-08-27 18:03:00 +02:00
recent_repos_with_long_names.go Truncate the path column of the recent repos menu too 2026-09-14 09:23:26 +02:00
start_in_git_dir.go Open the repo when lazygit is started in its .git dir 2026-08-08 11:15:01 +02:00