diff options
author | Douwe Maan <douwe@selenight.nl> | 2019-01-22 13:35:28 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2019-01-22 17:00:16 +0100 |
commit | 03df54b226f63a05ee2229b9f7f1f3e90383430a (patch) | |
tree | 80d6ac7c25481460947d3bf6f6fa18eee8237da4 /doc/gitlab-basics/add-merge-request.md | |
parent | ed1da730202bf3178c43b3467635853733b799c1 (diff) | |
download | gitlab-ce-03df54b226f63a05ee2229b9f7f1f3e90383430a.tar.gz |
Trim first char of diff line text on diff discussions
Before, diff file `higlighted_diff_lines`/`parallel_diff_lines` and
diff discussion `truncated_diff_lines` were inconsistent: `text` and
`rich_text` on the latter included the leading +/-/<space> character,
like on the backend, while the former had no `text` and its `rich_text`
had dropped this char.
This resulted in a bug when the suggestions feature expected these diff
line objects to be identical in format and thus interchangeable, which
was not the case.
Diffstat (limited to 'doc/gitlab-basics/add-merge-request.md')
0 files changed, 0 insertions, 0 deletions