mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 04:14:01 +01:00 
			
		
		
		
	
							parent
							
								
									19af534462
								
							
						
					
					
						commit
						bf7ae0429c
					
				@ -195,7 +195,7 @@ func GetAllCommits(ctx *context.APIContext) {
 | 
			
		||||
			// get commit specified by sha
 | 
			
		||||
			baseCommit, err = ctx.Repo.GitRepo.GetCommit(sha)
 | 
			
		||||
			if err != nil {
 | 
			
		||||
				ctx.Error(http.StatusInternalServerError, "GetCommit", err)
 | 
			
		||||
				ctx.NotFoundOrServerError("GetCommit", git.IsErrNotExist, err)
 | 
			
		||||
				return
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user