gitlab-org--gitlab-foss/lib/gitlab/git/conflict
Sean McGivern 70af1e2e03 Fix 500 error when trying to resolve non-ASCII conflicts in editor
When we added caching, this meant that calling `can_be_resolved_in_ui?` didn't
always call `lines`, which meant that we didn't get the benefit of the
side-effect from that, where it forced the conflict data itself to UTF-8.

To fix that, make this explicit by separating the `raw_content` (any encoding)
from the `content` (which is either UTF-8, or an exception is raised).
2018-03-23 18:33:14 +00:00
..
file.rb Fix 500 error when trying to resolve non-ASCII conflicts in editor 2018-03-23 18:33:14 +00:00
parser.rb Fix 500 error when trying to resolve non-ASCII conflicts in editor 2018-03-23 18:33:14 +00:00
resolution.rb Simplify conflict resolution interface and code 2018-01-02 16:22:02 -03:00
resolver.rb Migrate Repository#can_be_merged? to Gitaly 2018-01-11 16:40:13 +01:00