jonas / tig

Text-mode interface for git
https://jonas.github.io/tig/
GNU General Public License v2.0
12.41k stars 607 forks source link

Can edit in Pager #1243

Closed crisisdice closed 1 year ago

crisisdice commented 1 year ago

When working with pull requests, before merging to master it is nice to get the total diff of all of the commits of the PR, as in the Files changed tab on github. This is possible with tig, i.e. git diff master | tig or :!git diff master, but currently, this view does not support editing.

This PR makes editing in the pager view possible.

koutcher commented 1 year ago

Thanks. It will only work when paging diff content but the worst that can happen is a Nothing to edit error message.