Wrong line number link in git diff

The following snapshot shows the diff with the link to line 2092, but the change is on line 2098:

image

image

I think the error is caused by other changes, the number of lines has changed, and it’s showing the number of the line of the pre-change instead of the post-change.

1 Like