Skip to content

Resolve "GitLab commit comments fail with "old" line_type"

What does this MR do?

#335337 (closed) shows that using "old" as a line_type attribute in the commit comments API doesn't post a comment to the line you specify. "new" works, but "old" does not.

This MR adds a few checks and functions to make it work!

Screenshots or Screencasts (strongly suggested)

How to setup and validate locally (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #335337 (closed)

Edited by Gary Holtz

Merge request reports

Loading