Commit Graph
14 Commits
Author SHA1 Message Date
Alice T'Poteat 7dd0636111 diff: run git when the built-in panel would, never at the session's start (#94594)
* diff: the session's start asks nothing of the repository; /diff or the first edit pins it when it comes

* diff: git runs when the built-in panel's would: one rev-parse at first need, the tree walked only for an open pane, nothing after a turn or a refused tool

* diff: a shell command that failed or was cut short still refreshes an open pane, an edit that did opens nothing, and a probe /clear overtook pins nothing
2026-09-15 14:08:25 -07:00
poteat 325256e17b diff: the header and list stay pinned while the hunks scroll beneath them three rows a tick (the pane answers ui.scroll itself), the list keys and ctrl+x b press Buttons that declare the built-in's actions, rows rest grey, toasts are held, and without the fullscreen layout /diff opens the built-in dialog's shape inline, focused, at any width 2026-09-13 12:07:25 -07:00
poteat 3c94149d2b mods/diff: a backend's deps may leave the start's dirty paths out 2026-09-12 23:38:16 -07:00
poteat ddb122f0b8 mods/diff: the closing empty row is the git backend's to add after parsing, so hunks parsed for another backend stay as printed 2026-09-12 23:29:23 -07:00
poteat 883b12cc19 mods/diff: renames list as git prints them with no body, a file that turned up since the start is session work, and each file but the diff's last keeps git's closing line 2026-09-12 23:27:22 -07:00
poteat 3668b47c37 mods: a blank line between const runs and let runs 2026-09-12 19:36:21 -07:00
poteat 748e0c4a44 mods: blank lines between statement kinds and around multi-line statements 2026-09-12 11:52:24 -07:00
poteat 97f86b94e8 mods/diff: a helper takes the whole shape its callers hold, and the pane's inset kit has a constructor 2026-09-11 10:46:48 -07:00
poteat 46ea2a528d mods/diff: each decision a hook makes names its test, and a value used once is written where it is used 2026-09-11 10:45:12 -07:00
poteat a9d339b13a mods/diff: each helper sits in a folder of its own, named for what it exports, and barrels list their folders in order 2026-09-11 10:41:47 -07:00
poteat 652580d35f mods: hook JSDoc is a two-line summary and one short paragraph, naming no file path 2026-09-11 10:40:43 -07:00
poteat 23e30f0c17 mods/diff: the untracked file's stage hint is unquoted, as the built-in words it 2026-09-10 10:52:06 -07:00
poteat 2142ececc4 mods/diff: a backend seam, git as the built-in backend 2026-09-09 20:32:03 -07:00
poteat d9c456d7db Add mods: sec-default, diff and telemetry, the hooks-module plugins built into Claude Code 2026-09-09 15:30:08 -07:00