You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Code comment on an unchanged line shows the wrong code context #39794
I comment on an unchanged line in a pull request diff.
The Files tab shows it in the right place.
The Conversation tab, the notification mail shows it at the wrong place.
Steps to reproduce:
On the base branch, commit file.txt with 20 lines old 1 … old 20.
In a second commit, insert 5 lines at the top. old 10 is now line 15.
On a new branch, change only the last line and open a PR.
In the Files tab, expand the hidden lines and comment on line 15 (old 10).
In the Conversation tab, the context above the comment ends with old 15 instead of old 10.
Activity
cedric-roussel commentedon Oct 15, 2026
AI suggested fix: