Monorepo for Tangled tangled.org
1

Configure Feed

Select the types of activity you want to include in your feed.

knotserver/git: remove `protocol.ext.allow=never`

it fails on file:// clone

Signed-off-by: Seongmin Lee <git@boltless.me>

author
Seongmin Lee
date (Jul 27, 2026, 10:21 PM +0900) commit b9500f27 parent 3da81cf8 change-id voyoyutp
+1 -6
+1 -6
knotserver/git/fork.go
··· 41 41 u = o 42 42 } 43 43 44 - cloneCmd := exec.Command( 45 - "git", 46 - "-c", "protocol.ext.allow=never", 47 - "clone", "--bare", u.String(), repoPath, 48 - ) 49 - cloneCmd.Env = append(cloneCmd.Env, "GIT_PROTOCOL_FROM_USER=0") 44 + cloneCmd := exec.Command("git", "clone", "--bare", u.String(), repoPath) 50 45 cloneCmd.Env = append(cloneCmd.Env, "GIT_TERMINAL_PROMPT=0") 51 46 if err := cloneCmd.Run(); err != nil { 52 47 return fmt.Errorf("failed to bare clone repository: %w", err)