[Bug] Gitea MCP branch detection uses wrong directory #231
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The Gitea MCP server _check_branch_permissions() method runs git commands from the installed plugin directory instead of the user project directory.
Impact
Discovered
Sprint 3 planning (2026-01-27)
Recommended Fix
Remove branch restrictions for issue/wiki operations - they are repository-level, not branch-level.
Files
Acceptance Criteria