mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-12 00:26:24 -04:00
The files diff renderer decides, from the selected file's staged/unstaged status and the splitDiff config, whether the focused main view is split into unstaged/staged halves and — when not split — whether the single view shows the staged diff. A second consumer is about to need the same decision (staging a line directly from the focused main view must know whether the shown diff is staged or unstaged, to pick apply vs apply --reverse). Pull it into a method so the two can't drift from each other. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||