Remove git.renameBranch RPC and harden branch rename args
- remove `git.renameBranch` from WS/contracts/native API surface and update server/web tests - use `git branch -m -- ...` in GitCore to safely separate branch rename arguments
This commit is contained in:
1 parent
61e1babcc7
commit
0df68cc73e
9 files changed
+48
-73
No files matched your search
@@ -572,11 +572,6 @@ export const createServer = Effect.fn(function* (): Effect.fn.Return<
|
||||
return yield* git.createWorktree(body);
|
||||
}
|
||||
|
||||
case WS_METHODS.gitRenameBranch: {
|
||||
const body = stripRequestTag(request.body);
|
||||
return yield* git.renameBranch(body);
|
||||
}
|
||||
|
||||
case WS_METHODS.gitRemoveWorktree: {
|
||||
const body = stripRequestTag(request.body);
|
||||
return yield* git.removeWorktree(body);
|
||||
|
||||
Reference in new issue
Block a user