mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 23:16:52 +02:00
Merge remote-tracking branch 'upstream/main' into limit-repo-size
This commit is contained in:
17 files changed
+328
-221
No files matched your search
@@ -158,7 +158,7 @@ func initRepository(ctx context.Context, repoPath string, u *user_model.User, re
|
||||
}
|
||||
|
||||
// Apply changes and commit.
|
||||
if err = repo_module.InitRepoCommit(ctx, tmpDir, repo, u, opts.DefaultBranch); err != nil {
|
||||
if err = initRepoCommit(ctx, tmpDir, repo, u, opts.DefaultBranch); err != nil {
|
||||
return fmt.Errorf("initRepoCommit: %w", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user