From 54d8417488dce4b20a5f1ea2592cd2d97a69f1af Mon Sep 17 00:00:00 2001 From: Ahmet Kilinc Date: Sat, 20 Dec 2025 17:18:41 +0000 Subject: [PATCH] fix? --- app/api/git/[...path]/route.ts | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/app/api/git/[...path]/route.ts b/app/api/git/[...path]/route.ts index 105a373..172bd78 100644 --- a/app/api/git/[...path]/route.ts +++ b/app/api/git/[...path]/route.ts @@ -36,18 +36,7 @@ function parseGitPath(pathSegments: string[]): { username: string; repoName: str async function getRefsAdvertisement(fs: R2Fs, gitdir: string, service: string): Promise { const capabilities = service === "git-upload-pack" - ? [ - "multi_ack", - "thin-pack", - "side-band", - "side-band-64k", - "ofs-delta", - "shallow", - "no-progress", - "include-tag", - "multi_ack_detailed", - "symref=HEAD:refs/heads/main", - ] + ? ["ofs-delta", "shallow", "no-progress", "include-tag", "symref=HEAD:refs/heads/main"] : ["report-status", "delete-refs", "ofs-delta"]; const refs: { name: string; oid: string }[] = [];