GitHub Diff File Toggle

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

目前為 2020-03-01 提交的版本,檢視 最新版本

作者
StylishThemes GitHub
評價
0 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