1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-05 01:45:22 +02: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: