MR reference filter understands "_A123" from rapid diffs
What does this MR do and why?
MR reference filter understands "_A123" from rapid diffs
Rapid diffs add _A#{n} for links to added lines; include uppercase letters in the fragment we parse so they're included.
Fixes MR diff links with per-line anchors are truncat... (#630777 - closed).
Screenshots or screen recordings
| What | Before | After |
|---|---|---|
| PTE | ![]() |
![]() |
| RTE | ![]() |
![]() |
| Render | ![]() |
![]() |
How to set up and validate locally
-
Create an MR in your dev environment with at least one changed/added line.
-
In the diffs view (should be rapid diffs), click on the added line's line number to get a link to that added line:
-
The URL in your address bar should end in something like
_A123(but a different number unless you are very lucky): -
Copy that URL into a Markdown field. Observe the "Before" side above in all listed modes.
-
Check out this branch.
-
Repeat step 4, but observe the "After" side.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.







