sindrets / diffview.nvim

Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
Other
3.74k stars 105 forks source link

FR: Add `restore_entry` for FileHistory #333

Closed chrisgrieser closed 1 year ago

chrisgrieser commented 1 year ago

Right now, it seems that the restore_entry is only available for the merge tool, but not for the file history. Being able to restore the file to its version in a previous commit would imo be quite useful. (something like git restore --source={hashOfEntry} {currentFile})

chrisgrieser commented 1 year ago

thank you so much! ❤️