mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-14 17:46:26 -04:00
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> |
||
|---|---|---|
| .. | ||
| confirm_on_quit.go | ||
| copy_confirmation_message_to_clipboard.go | ||
| copy_to_clipboard.go | ||
| direnv_approves_envrc.go | ||
| direnv_loaded_on_repo_switch.go | ||
| direnv_unloads_on_blocked_envrc.go | ||
| filter_recent_repos.go | ||
| initial_open.go | ||
| recent_repos_branch_column.go | ||
| recent_repos_column_widths.go | ||
| recent_repos_on_launch.go | ||
| recent_repos_with_long_names.go | ||
| start_in_git_dir.go | ||