Skip to content

Commit 712afd9

Browse files
authored
feat(daemon): allow git fetch as a raw subcommand (#1167)
Adds "fetch" to ALLOWED_SUBCOMMANDS so that `git fetch origin` can be executed via the /git/raw endpoint. Made-with: Cursor
1 parent 200f2b5 commit 712afd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

daemon/git.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ const ALLOWED_SUBCOMMANDS = new Set([
368368
"ls-tree",
369369
"cat-file",
370370
"revert",
371+
"fetch",
371372
]);
372373

373374
/**

0 commit comments

Comments
 (0)