Files
tty7/src
l0ng-ai 68cc4680d4 feat(git): click a sidebar git line to open a working-tree diff overlay
The sidebar row's third line (branch + counts) is now a click target: it
opens a read-only, GitHub-style unified diff of that pane's repo as an
overlay covering the terminal body. The sidebar stays visible, so other
tabs' git lines remain one click away — peek at another session's
changes without switching tabs.

- terminal/git_diff: parse `git diff HEAD` into files/hunks/lines
  (renames, binary, quoted paths, per-file line cap), plus the
  untracked list `diff` can't see; probed off-thread, read-only via
  the shared GIT_OPTIONAL_LOCKS=0 helper.
- ui/diff_overlay: per-file cards with collapsible hunk bodies (big
  files collapse by default), line-number gutters, green/red tints,
  Esc / close / re-click toggles; auto-refreshes off the existing
  GitStatusCache triggers when shown counts go stale.
2026-07-15 22:00:19 +08:00
..