mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	* Refactor repo.isBare to repo.isEmpty #5629 Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove Sync call
This commit is contained in:
		@@ -39,7 +39,7 @@ func GetRawFile(ctx *context.APIContext) {
 | 
			
		||||
	// responses:
 | 
			
		||||
	//   200:
 | 
			
		||||
	//     description: success
 | 
			
		||||
	if ctx.Repo.Repository.IsBare {
 | 
			
		||||
	if ctx.Repo.Repository.IsEmpty {
 | 
			
		||||
		ctx.Status(404)
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user