A userscript that adds a toggle to show or hide diff files
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.
