sindresorhus/refined-github





The issue has been closed
Fix "Commit range not found" pages linked from notifications #2779
waldyrious posted onGitHub
When pull request branches are force-pushed, the links in the notification tries to open the diff of the new changes, but that does work, resulting in a "Commit range not found" message (and the notification remains marked as unread).
Example URL (copied from the links in the notifications page): https://github.com/alif-type/libertinus/pull/297/files/4371c159cc447047d55a3012f13ee229c2e9e616..aaf70cbb6f3a5377786da765f635c0f54b7b0569
In such cases, the page should show instead the main PR page — in the example above, https://github.com/alif-type/libertinus/pull/297.