[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21535: 25.0.50; vc-follow-symlinks=ask is ineffective for directory
From: |
Lars Ingebrigtsen |
Subject: |
bug#21535: 25.0.50; vc-follow-symlinks=ask is ineffective for directory links |
Date: |
Mon, 07 Dec 2020 15:57:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Glenn Morris <rgm@gnu.org> writes:
> Maybe:
>
> cd /tmp
> mkdir git
> cd git
> touch 1
> git init
> git add .
> git commit -m "c1"
> cd /tmp
> ln -s git/1
> ln -s git git2
Thanks!
> emacs -Q /tmp/1
> -> "Symbolic link to Git-controlled source file; follow link?"
>
> emacs -Q /tmp/git2/1
> -> no prompt
>
> I don't think I see why that matters though, so maybe not the right example.
I think that's the correct recipe for the issue described.
And it does seem rather odd, doesn't it? In both cases, we're following
a symlink, but we only get the warning in the first case?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no