I have git repo here: ~/git/myrepo/
then I do:
ln -s ~/external_dir ~/git/myrepo
emacs follows symbolic link when opening the file: ~/git/myrepo/external_dir/somefile.txt
I'd like to prevent it, ideally on a per git repo (dir-locals) basis
following doesn't bring the desired effect:
(setq vc-follow-symlinks nil)
also:
(setq vc-follow-symlinks 'ask)
does not make emacs ask a question when opening a file.
I'm running emacs.28.2
please help