When I move around the buffer *vc-diff*
from vc-root-diff
I experience lags.
GNU Emacs 27.1 (build 1, x86_64-pc-cygwin) of 2020-10-29.
With procmon
I detected lots of:
C:\opt\cygwin64\bin\git.exe --no-pager ls-files -z --full-name -- application.yml
C:\opt\cygwin64\bin\git.exe --no-pager cat-file blob 4f6e63900c275c7c53519ac0a2f6bc1cdd65abf8:application.yml
that generated for each new file in diff...
It is from vc-git-find-revision
.
Even though I enabled debugging on entering that function Emacs didn't stop there, so I cannot get stack trace which hook is responsible to process spawning.
I want to disable that "feature".
UPDATE 2023-04-10 Bug report: Emacs keeps opening related file from vc-diff buffer