Git diff review pane tracks its working directory and fullscreen state more precisely, and cancels stale background work on session changes
The git diff review pane (the view that shows pending changes for review) now tracks more state internally:
- a
cwdfield, so process runs use an explicit working directory when one is set - an
isEmptyflag, letting it skip re-checking git status when a session is already known to have no repository - an
epochcounter, which cancels in-progress work to resolve a diff's base when a session is cleared or resumed
Separately, whether the pane is shown fullscreen is now derived from the actual render viewport instead of being assumed, and the pane now only auto-opens when it is explicitly confirmed to be fullscreen.
These changes make the review pane more accurate about its own state, avoiding wasted work on repo-less sessions, stale background lookups after switching sessions, and auto-opening under the wrong screen layout.