diff options
Diffstat (limited to 'modules/gitgraph/graph.go')
-rw-r--r-- | modules/gitgraph/graph.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gitgraph/graph.go b/modules/gitgraph/graph.go index cf994bfd4c..8f04941147 100644 --- a/modules/gitgraph/graph.go +++ b/modules/gitgraph/graph.go @@ -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 { |