Expand all force pushed file diffs in pull requests #3097
robertcoopercode posted onGitHub
Currently, when you do many force pushes on a pull request, GitHub will group them all together, so you only see the latest force push file diff.
It would be useful if Refined GitHub would prevent this grouping and instead display one line per force push, with a link to the correct file diff.
Before | After |
---|---|
![]() |
![]() |
This feature would allow pull request reviewers to see every change done through a force push and make it easier to follow the evolution of changes in a pull request.
In order to implement this, we would have to parse the git reflog to get the git ref hash for all the force pushes in order to construct the URL that points to the file diff for each of the force pushes (e.g. https://github.com/robertcoopercode/proof-of-concept/compare/5c9a40314c69179021150069eb565fd9095abc3b..12e73d1d9b815e11b39bb89b58470cb616f0ad44)
Let me know if you think if you think this would be useful and would be nice to have in Refined GitHub.