Listing active pull requests that would change specific line / file


I am curious is anybody aware of some tools (by GitHub or the community) to see in the file view the active pull requests for lines of code. Like git blame but not commits that have changed a specific line but active pull requests in the repo that would change this line if applied. Or if not line-wise, at least file-wise, as in listing all the pull requests that are changing the file that is being viewed.

I suppose feature like this would, for potential contributors, ease the search of pull requests that might already be dealing with the code (or rather the text) that interests this potential contributor. Or project members and maintainers also could find it useful.

As a real-life example, I was reading React docs and noticed some issues. Now I’m going to the docs repo to make a pull request to fix those. But before that I need to make sure that nobody else fixed that already. Currently I am seeing 133 issues and 164 pull requests. Well alright, nothing unusual, as one would expect.

Text search could help but as my experience shows, title and description of pull requests don’t always contain keywords that could be used to describe the changes and be used in searches for them. Because of anything from simply poorly made descriptions, to huge PRs that change many files and just don’t describe every file and topic they are changing.

1 Like

Thanks for this feedback! We’re always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.


Please let me know if you have any other questions.


Thanks for considering this. Built-in support for this would definitely be nice.