mirror of
https://gitbruv.vercel.app/api/git/bruv/gitbruv.git
synced 2025-12-20 23:24:09 +01:00
fix?
This commit is contained in:
parent
fbaaf65809
commit
54d8417488
1 changed files with 1 additions and 12 deletions
|
|
@ -36,18 +36,7 @@ function parseGitPath(pathSegments: string[]): { username: string; repoName: str
|
||||||
async function getRefsAdvertisement(fs: R2Fs, gitdir: string, service: string): Promise<Buffer> {
|
async function getRefsAdvertisement(fs: R2Fs, gitdir: string, service: string): Promise<Buffer> {
|
||||||
const capabilities =
|
const capabilities =
|
||||||
service === "git-upload-pack"
|
service === "git-upload-pack"
|
||||||
? [
|
? ["ofs-delta", "shallow", "no-progress", "include-tag", "symref=HEAD:refs/heads/main"]
|
||||||
"multi_ack",
|
|
||||||
"thin-pack",
|
|
||||||
"side-band",
|
|
||||||
"side-band-64k",
|
|
||||||
"ofs-delta",
|
|
||||||
"shallow",
|
|
||||||
"no-progress",
|
|
||||||
"include-tag",
|
|
||||||
"multi_ack_detailed",
|
|
||||||
"symref=HEAD:refs/heads/main",
|
|
||||||
]
|
|
||||||
: ["report-status", "delete-refs", "ofs-delta"];
|
: ["report-status", "delete-refs", "ofs-delta"];
|
||||||
|
|
||||||
const refs: { name: string; oid: string }[] = [];
|
const refs: { name: string; oid: string }[] = [];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue