jesseduffield.lazygit/pkg
yzxcj797 600b9aa340 Add gui.startupPanel config for the initially focused panel
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.
2026-08-22 06:36:10 +08:00
..
app Recognize a repo that has no work tree instead of bailing out 2026-08-08 11:15:01 +02:00
cheatsheet Fix linter warning about WriteString(fmt.Sprintf(...)) 2026-08-16 16:35:11 +02:00
commands Extract a single helper for the paths a node's diff is limited to 2026-08-17 09:32:30 +02:00
common Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
config Add gui.startupPanel config for the initially focused panel 2026-08-22 06:36:10 +08:00
constants Adapt links 2026-07-31 08:42:51 +02:00
env Remember how to get back to a repo we entered a submodule from 2026-08-08 11:15:01 +02:00
fakes Modernize all codes 2025-11-15 10:46:23 +01:00
gocui Use lo.Map instead of manual append loops 2026-08-16 16:35:11 +02:00
gui Add gui.startupPanel config for the initially focused panel 2026-08-22 06:36:10 +08:00
i18n Run the stash operations with a waiting status 2026-08-08 12:26:18 +02:00
integration Show renames when diffing a directory that a file was moved into or out of 2026-08-17 09:32:30 +02:00
jsonschema Fix use of reflect.Ptr 2026-08-16 16:35:11 +02:00
logs Separate the runs in the debug log with a blank line 2026-08-15 09:48:11 +02:00
snake Remove a few unnecessary parentheses 2026-08-13 20:40:11 +02:00
tasks Reset the scroll to the top at first paint, not when the task starts 2026-08-15 15:30:27 +02:00
theme Copy gocui files into lazygit repo under pkg/gocui 2026-04-30 14:29:08 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Make StringStack generic 2026-08-08 11:15:01 +02:00