GitHub Diff File Toggle

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

As of 14/10/2018. See the latest version.

Autor
StylishThemes GitHub
Ocene
0 0 0
Verzija
1.2.4
Napravljeno
15/04/2016
Ažurirano
14/10/2018
Size
4,47 КБ
Licenca
MIT
Važi za

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