Use #sub instead of #gsub!. #3945
* This is because is not a good idea to modify the original lines * Also I run into this issue https://gitlab.com/gitlab-org/gitlab_git/issues/14 which is returning Diff Lines with the same @new_pos value.
Showing
Please register or sign in to comment