Commit 8b3468a2 authored by Dmytro Zaporozhets (DZ)'s avatar Dmytro Zaporozhets (DZ)

Merge branch '285464_enable_ff_with_improved_highlighting' into 'master'

Enable improved diff highlighting by default

See merge request gitlab-org/gitlab!53980
parents 4a1a1ae4 0f800e23
---
title: Improve highlighting for merge diffs
merge_request: 52499
merge_request: 53980
author:
type: added
......@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/299884
milestone: '13.9'
type: development
group: group::source code
default_enabled: false
default_enabled: true
......@@ -77,7 +77,7 @@ module Gitlab
private
def version
if Feature.enabled?(:improved_merge_diff_highlighting, diffable.project)
if Feature.enabled?(:improved_merge_diff_highlighting, diffable.project, default_enabled: :yaml)
NEXT_VERSION
else
VERSION
......
......@@ -31,7 +31,7 @@ module Gitlab
# Skip inline diff if empty line was replaced with content
return if old_line == ""
if Feature.enabled?(:improved_merge_diff_highlighting, project)
if Feature.enabled?(:improved_merge_diff_highlighting, project, default_enabled: :yaml)
CharDiff.new(old_line, new_line).changed_ranges(offset: offset)
else
deprecated_diff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment