mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-16 02:18:22 -07:00
bug fixed
This commit is contained in:
parent
3d1a967477
commit
97e82a0ff6
@ -200,6 +200,7 @@ func CreateRepository(user *User, repoName, desc, repoLang, license string, priv
|
||||
}
|
||||
|
||||
c := exec.Command("git", "update-server-info")
|
||||
c.Dir = repoPath
|
||||
err = c.Run()
|
||||
if err != nil {
|
||||
log.Error("repo.CreateRepository(exec update-server-info): %v", err)
|
||||
|
Loading…
Reference in New Issue
Block a user