mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-16 02:26:24 -04:00
When the work tree lives somewhere else entirely — set up with core.worktree or --work-tree — we're still in the main worktree, so RepoPath() should be the work tree, as its own doc comment says. Instead we derive it from the git dir's location, which lands somewhere that isn't a worktree at all, and the repo name follows it. The ACTUAL lines are indented as they will be once the EXPECTED ones replace them, rather than as gofumpt wants them while the comment markers are still splitting the struct's alignment. That leaves this one file not gofumpt-clean until the next commit, in exchange for a diff there that shows only the lines that actually change. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||