Skip to content

Scope registry deduplication to warp --new#49

Merged
sjquant merged 2 commits into
mainfrom
sjquant/deduplicate-warp-registry
May 3, 2026
Merged

Scope registry deduplication to warp --new#49
sjquant merged 2 commits into
mainfrom
sjquant/deduplicate-warp-registry

Conversation

@sjquant
Copy link
Copy Markdown
Owner

@sjquant sjquant commented May 3, 2026

Why

gji warp --new should treat duplicate registry rows for the same repo as one target, but regular gji warp navigation still needs the raw registry so every registered entry remains discoverable.

Changes

  • keep loadRegistry() returning raw entries instead of globally deduplicating them
  • deduplicate canonical repo paths only inside gji warp --new before target repo selection
  • preserve alias-path collapse during registerRepo() writes so symlink and real-path variants do not accumulate
  • add regression coverage for raw registry loading, warp --new duplicate handling, and alias-path registration cleanup

@sjquant sjquant changed the title Deduplicate warp repo registry entries Scope registry deduplication to warp --new May 3, 2026
@sjquant sjquant merged commit 69b5b6b into main May 3, 2026
1 check passed
@sjquant sjquant deleted the sjquant/deduplicate-warp-registry branch May 3, 2026 11:44
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