[go: up one dir, main page]

Skip to content

Doubled lines in the MR diff for linked files in new tab

Reproduce

Take MR diff with added lines. Right click on line -> open in new tab.

MR diff will be loaded using "Linked file feature" #387246 (closed) .

but there will be doubled lines rendered that is under added block.

Click and open in the new tab image

Examples

Normal diff

image

$SERVER_FQDN/-/merge_requests/1/diffs#4d3f91d28e4212cc4f1aea4eec881081fceeda84_21_23

Diff openned via right click on last line of added block

Interesting that the problem persist when the linked file passed as GET paramater in the path.

image

$SERVER_FQDN/-/merge_requests/1/diffs?file=4d3f91d28e4212cc4f1aea4eec881081fceeda84#4d3f91d28e4212cc4f1aea4eec881081fceeda84_21_23

Edited by 🤖 GitLab Bot 🤖