GitHub Diff File Toggle
You will need to install an extension such as Stylus to install this style.
You will need to install an extension such as Stylus to install this style.
You will need to install an extension such as Stylus to install this style.
You will need to install a user style manager extension to install this style.
You will need to install a user style manager extension to install this style.
You will need to install a user style manager extension to install this style.
When viewing a commit diff, a file toggle button is added to each file header.
Click on the toggle button to either collapse or expand that file block, or use Shift + Click to collapse or expand all file blocks.

In v1.1.0, an "accordion" mode was added. Use the Userscript addon settings panel to activate it.
