mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Fix bug when migrating repository (#34182)
This PR fixed a bug which is a regression from #31035
This commit is contained in:
		| @@ -107,7 +107,7 @@ func (g *GiteaLocalUploader) CreateRepo(ctx context.Context, repo *base.Reposito | ||||
| 			IsPrivate:      opts.Private || setting.Repository.ForcePrivate, | ||||
| 			IsMirror:       opts.Mirror, | ||||
| 			Status:         repo_model.RepositoryBeingMigrated, | ||||
| 		}) | ||||
| 		}, false) | ||||
| 	} else { | ||||
| 		r, err = repo_model.GetRepositoryByID(ctx, opts.MigrateToRepoID) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user