mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Move generate from module to service (#29465)
This commit is contained in:
		| @@ -157,7 +157,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