This package provides a way to display VCS diffstat information via eldoc. It supports Git and Mercurial repositories.
To turn on diffstat output in all supported major modes, enable
global-eldoc-diffstat-mode
. You can instead also enable
eldoc-diffstat-mode
in individual buffers or via mode hooks.
Adapted from Tassilo Horn's 2022 blog post “Using Eldoc with Magit (asynchronously!)”.