GitHub Diff File Toggle

A userscript that adds a toggle to show or hide diff files

Author
StylishThemes GitHub
Daily installs
0
Total installs
96
Ratings
3 0 0
Version
1.2.6
Created
Updated
License
MIT
Applies to

Author's Description

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.

diff-collapse

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

accordion-mode

Hosted with ♥ at GitHub