mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Update create repo
This commit is contained in:
		
							
								
								
									
										2
									
								
								serve.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								serve.go
									
									
									
									
									
								
							@@ -123,7 +123,7 @@ func runServ(*cli.Context) {
 | 
			
		||||
			println("Repository", user.Name+"/"+repoName, "is not exist")
 | 
			
		||||
			return
 | 
			
		||||
		} else if isWrite {
 | 
			
		||||
			_, err := models.CreateRepository(user, repoName, "", false, true, "")
 | 
			
		||||
			_, err := models.CreateRepository(user, repoName, "", "", false, true)
 | 
			
		||||
			if err != nil {
 | 
			
		||||
				println("Create repository failed")
 | 
			
		||||
				return
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user