1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Accept 'Data:' in commit graph (#4487)

This commit is contained in:
Kjell Kvinge
2018-07-21 20:17:10 +02:00
committed by techknowlogick
parent 5fa403c874
commit bed623600d
2 changed files with 31 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ func graphItemFromString(s string, r *git.Repository) (GraphItem, error) {
var ascii string
var data = "|||||||"
lines := strings.Split(s, "DATA:")
lines := strings.SplitN(s, "DATA:", 2)
switch len(lines) {
case 1: