Skip to content

fix: make index build --scan repeatable and cumulative - #16

Merged
ECG-Rudy-Glt merged 2 commits into
mainfrom
fix/index-scan-repeatable
Nov 5, 2026
Merged

ECG-Rudy-Glt merged 2 commits into
mainfrom
fix/index-scan-repeatable

Conversation

@ECG-Rudy-Glt

Copy link
Copy Markdown
Owner

Only the last --scan was used, silently. Every --scan folder is now scanned and added up (with a list file and --depth); a repository reached through overlapping folders or a symlink is indexed once. A single --scan prints the same scan line as before.

ECG-Rudy-Glt and others added 2 commits November 5, 2026 09:06
Only the last --scan was used, silently. Every --scan folder is now scanned
and added up (with a list file and --depth); a repository reached through
overlapping folders or a symlink is indexed once. A single --scan prints
the same scan line as before.
…n, symlink, worktree); say what was already counted; one shared test binary; HANDOFF release row
@ECG-Rudy-Glt

Copy link
Copy Markdown
Owner Author

Review follow-ups, all in this branch:

  • index.Build now indexes a repository once whatever names it: a list file and a scanned folder, a symbolic link, or a git worktree (new scan.Identity, by git common directory). The second name is reported as same repository as <first>, not silently dropped.
  • Across several --scan folders a worktree of a repository already found counts as that repository; the scan line says N already counted from a previous folder.
  • End-to-end tests share one built binary instead of building it three times.
  • docs/HANDOFF.md: the release row no longer says v0.2.0; releases are automatic.
    Tests added for the list+scan overlap and for a worktree in another folder.

@ECG-Rudy-Glt
ECG-Rudy-Glt merged commit 60a9f77 into main Nov 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant