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:
committed by
techknowlogick
parent
5fa403c874
commit
bed623600d
@@ -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:
|
||||
|
Reference in New Issue
Block a user