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:
parent
5fa403c874
commit
bed623600d
2 changed files with 31 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue