A Telescope extension for viewing the diffs for each file against a certain commit or ref.
Fixed previewer. Original extension can only show preview of uncommitted changes.
To install the extension, do
require('telescope').load_extension('git_diff')Call it using the Telescope command with the optional diff_against argument:
:Telescope git_diff diff_against=mainPressing enter on a file will go to that file. The usual Telescope mappings for
file pickers such as <C-x> for opening a file in a horizonal split work as
usual.