Greasy Fork

GitHub Diff File Toggle

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

作者
StylishThemes GitHub
日安装量
0
总安装量
157
评分
3 0 0
版本
1.2.6
创建于
2016-04-15
更新于
2020-03-01
大小
4.4 KB
许可证
MIT
适用于

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