spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

mods/diff: a backend's deps may leave the start's dirty paths outBrowse files
poteat authored on Sep 13, 2026 parent ddb122f · commit 3c94149d2bc9
2 changed files+4 -4compared with ddb122f
Mmods/diff/hooks/git/types/dating-context/dating-context.ts
Mmods/diff/hooks/git/types/git-deps/git-deps.ts
@@ -6,6 +6,6 @@
66 * stamp probe over the tree's top, and when read, the paths dirty then.
77 */
88 export type DatingContext = {
9- deps: Pick<GitDeps, 'sessionStartMs'> & Partial<Pick<GitDeps, 'baseline'>>
9+ deps: Pick<GitDeps, 'sessionStartMs' | 'baseline'>
1010 stamps: StampProbe
1111 }
@@ -33,13 +33,13 @@
3333 sessionStartMs: number
3434
3535 /**
36- * The paths that were dirty when the backend was pinned, at the session's
37- * start (Probes.dirtyPathsOf), or null when git could not list them.
36+ * The paths dirty when the backend was pinned, at the session's start
37+ * (Probes.dirtyPathsOf); null when unlisted, absent where none is kept.
3838 *
3939 * A path absent from it turned up during the session (a rename's new
4040 * name, a file moved in), whatever timestamp it carries.
4141 */
42- baseline: ReadonlySet<string> | null
42+ baseline?: ReadonlySet<string> | null
4343
4444 /**
4545 * Told each time branch mode resolves its base, for telemetry.