mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-11 16:16:28 -04:00
Prep for extending the focused main view's raw-diff fallback beyond the files panel. ShowCmdObj, ShowFileDiffCmdObj, ShowStashEntryCmdObj and DiffCmdObj gain the ignoreExternalDiff arg WorktreeFileDiffCmdObj already has — forcing git's own coloured diff regardless of a configured external diff command. All callers pass false, so behaviour is unchanged. Also lift the pty-vs-command task choice out of the files controller into types.NewMainViewDiffTask(WithPrefix), so the commit/stash/patch-building panels (whose diffs are built in the diff helper, which can't reach the staging helper) can select the same raw-fallback task. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||