mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-13 17:16:23 -04:00
The startup panel was hard-coded to Files unless a positional argument (lazygit log / branches / stash) or a filter path picked another one — tig-style users who live in the commits panel had to type the argument every launch (#5877). gui.startupPanel now selects the focused side panel for argument-less launches: one of worktrees, submodules, branches, remotes, tags, commits, reflog, or stash. CLI arguments and filter paths keep precedence, an unrecognized value falls back to files, and the validation lives in a pure normalizeStartupPanel so the accepted vocabulary is pinned by unit tests. |
||
|---|---|---|
| .. | ||
| app_config.go | ||
| app_config_test.go | ||
| config_default_platform.go | ||
| config_linux.go | ||
| config_windows.go | ||
| diff_renderer_config_manager.go | ||
| diff_renderer_config_manager_test.go | ||
| dummies.go | ||
| editor_presets.go | ||
| editor_presets_test.go | ||
| github_pull_request_cache.go | ||
| github_pull_request_cache_test.go | ||
| keybinding.go | ||
| keybinding_test.go | ||
| keynames.go | ||
| keynames_test.go | ||
| side_panel.go | ||
| user_config.go | ||
| user_config_validation.go | ||
| user_config_validation_test.go | ||