Skip to content

Fix path-scoped Git in nested repositories - #116

Open
PracticalSwan wants to merge 1 commit into
rebel0789:mainfrom
PracticalSwan:fix/path-scoped-nested-git
Open

Fix path-scoped Git in nested repositories#116
PracticalSwan wants to merge 1 commit into
rebel0789:mainfrom
PracticalSwan:fix/path-scoped-nested-git

Conversation

@PracticalSwan

Copy link
Copy Markdown

Summary

  • resolve the nearest Git top-level for path-scoped Git operations when it is inside the allowed workspace
  • keep existing behavior for unscoped Git calls and workspaces nested inside a parent repository outside the allowed root
  • add a wide non-Git root + nested repo smoke regression

Fixes the nested-Git portion of #91.

Verification

  • npm run build
  • node scripts/smoke.mjs
  • git diff --check

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