mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-18 03:17:56 +01:00
parent
355ab0c62c
commit
daaae2aad5
1 changed files with 1 additions and 1 deletions
|
@ -68,10 +68,10 @@ func (g *GiteaLocalUploader) CreateRepo(repo *base.Repository, includeWiki bool)
|
||||||
IsPrivate: repo.IsPrivate,
|
IsPrivate: repo.IsPrivate,
|
||||||
Wiki: includeWiki,
|
Wiki: includeWiki,
|
||||||
})
|
})
|
||||||
|
g.repo = r
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
g.repo = r
|
|
||||||
g.gitRepo, err = git.OpenRepository(r.RepoPath())
|
g.gitRepo, err = git.OpenRepository(r.RepoPath())
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue