You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
touch dummyfile
git add dummyfile
git commit -m "this is a testcommit | containing a pipe"
git push
# view commitgraph
In models/graph.go in GetCommitGraph(r *git.Repository) (GraphItems, error) calls a git log and uses a custom format using pipes as field separators. Later in graphItemFromString(s string, r *git.Repository) (GraphItem, error) the lines get split by that delimiter and the resulting array is being checked whether or not it has exactly 8 elements.
The easiest solution would be to check whether or not the array has at least 8 elements and merge the 8th to nth elements together.
The text was updated successfully, but these errors were encountered:
[x]
):Description
steps to reproduce:
In
models/graph.go
inGetCommitGraph(r *git.Repository) (GraphItems, error)
calls agit log
and uses a custom format using pipes as field separators. Later ingraphItemFromString(s string, r *git.Repository) (GraphItem, error)
the lines get split by that delimiter and the resulting array is being checked whether or not it has exactly 8 elements.The easiest solution would be to check whether or not the array has at least 8 elements and merge the 8th to nth elements together.
The text was updated successfully, but these errors were encountered: