Skip to content

Feature Request: Add Jujutsu (jj) repository support #15

@frittlechasm

Description

@frittlechasm

Summary

Would you be open to adding support for Jujutsu (jj) repositories?
Right now, reposcan skips .jj repos entirely, which makes it less useful for anyone who has adopted jj in their workflow.

Proposed Scope (Read-Only First)

A minimal first pass would not need to touch the TUI mutation flow at all. The useful surface area is:

  • Detect .jj directories during filesystem walking
  • Collect basic repo state (dirty files via jj diff --summary, current bookmark/change ID)
  • Display jj repos in table and JSON output alongside Git repos
  • Handle co-located repos (.git + .jj) with a clear precedence rule

This is intentionally scoped to read-only support first. Write operations (push/fetch) can come later once the read path is stable, since jj semantics differ from Git in meaningful ways (bookmarks vs branches, no direct pull equivalent, etc.).

Non-Goals (for now)

  • TUI push/pull/fetch actions for jj
  • Perfect Git-equivalent ahead/behind semantics (jj doesn't map cleanly)
  • Any changes to existing Git behavior

Notes

  • If jj is not installed, the scanner should degrade gracefully and continue scanning Git repos normally

Happy to contribute an implementation if you're open to it.
Thanks for the great tool !

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions