diff options
author | Rubén Dávila <rdavila84@gmail.com> | 2016-01-13 21:04:53 -0500 |
---|---|---|
committer | Rubén Dávila <rdavila84@gmail.com> | 2016-01-13 21:04:53 -0500 |
commit | c179b48c97be22ef55ef9f5874984f7359fb12f1 (patch) | |
tree | cb0f5c8f03df34f8735487f5ee2a5136a3b54d10 /lib/api/projects.rb | |
parent | 1161cf2ec610cb0ceba61c92180566c9786ab059 (diff) | |
download | gitlab-ce-c179b48c97be22ef55ef9f5874984f7359fb12f1.tar.gz |
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.
Diffstat (limited to 'lib/api/projects.rb')
0 files changed, 0 insertions, 0 deletions