Fixes draft note race condition with whitespace changes
Fixes a race condition when draft notes exist on a line in a whitespace diff but would end up getting an incorrect `line_code` set. This is fixed by saving the `line_code` property into the database to better match what the notes table does. Changelog: fixed Closes https://gitlab.com/gitlab-org/gitlab/-/issues/340815
Showing
Please register or sign in to comment