mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 12:47:53 +01:00
parent
355ab0c62c
commit
daaae2aad5
@ -68,10 +68,10 @@ func (g *GiteaLocalUploader) CreateRepo(repo *base.Repository, includeWiki bool)
|
||||
IsPrivate: repo.IsPrivate,
|
||||
Wiki: includeWiki,
|
||||
})
|
||||
g.repo = r
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
g.repo = r
|
||||
g.gitRepo, err = git.OpenRepository(r.RepoPath())
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user