mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Simplify parameter types (#18006)
Remove repeated type declarations in function definitions.
This commit is contained in:
		| @@ -17,7 +17,7 @@ import ( | ||||
| ) | ||||
|  | ||||
| // GetCommitGraph return a list of commit (GraphItems) from all branches | ||||
| func GetCommitGraph(r *git.Repository, page int, maxAllowedColors int, hidePRRefs bool, branches, files []string) (*Graph, error) { | ||||
| func GetCommitGraph(r *git.Repository, page, maxAllowedColors int, hidePRRefs bool, branches, files []string) (*Graph, error) { | ||||
| 	format := "DATA:%D|%H|%ad|%h|%s" | ||||
|  | ||||
| 	if page == 0 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Gusted
					Gusted