GitHub Diff File Toggle

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

Aŭtoro
StylishThemes GitHub
Ĉiutagaj instaloj
0
Tutaj instaloj
157
Ratings
3 0 0
Versio
1.2.6
Kreita
2016/04/15
Ĝisdatigita
2020/03/01
Size
4,38 kb
Licenco
MIT
Aplikiĝas al

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