Skip to content

fix: support project discovery from git worktrees - #291

Open
patrickswedish wants to merge 1 commit into
LedgerHQ:masterfrom
patrickswedish:agent/support-git-worktree-roots
Open

fix: support project discovery from git worktrees#291
patrickswedish wants to merge 1 commit into
LedgerHQ:masterfrom
patrickswedish:agent/support-git-worktree-roots

Conversation

@patrickswedish

Copy link
Copy Markdown

Summary

  • recognize both .git directories and git worktree pointer files as project roots
  • add a regression test for nested paths inside a worktree

Closes #210

Validation

  • PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 python -m pytest tests/unit/utils/test_misc.py -q (16 passed)
  • python -m pre_commit run --files src/ragger/utils/misc.py tests/unit/utils/test_misc.py

@sonarqubecloud

Copy link
Copy Markdown

@patrickswedish
patrickswedish marked this pull request as ready for review August 17, 2026 13:00
@patrickswedish
patrickswedish requested a review from a team as a code owner August 17, 2026 13:00
@patrickswedish
patrickswedish requested review from sportron-ledger and removed request for a team August 17, 2026 13:00
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.

Cannot find project top dir, when using git worktree

1 participant