GNU bug report logs - #21535
25.0.50; vc-follow-symlinks=ask is ineffective for directory links

Previous Next

Package: emacs;

Reported by: Johan Bockgård <bojohan <at> gnu.org>

Date: Tue, 22 Sep 2015 20:01:02 UTC

Severity: normal

Found in version 25.0.50

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 21535 <at> debbugs.gnu.org, Johan Bockgård <bojohan <at> gnu.org>
Subject: bug#21535: 25.0.50; vc-follow-symlinks=ask is ineffective for directory links
Date: Mon, 07 Dec 2020 15:57:16 +0100
Glenn Morris <rgm <at> 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




This bug report was last modified 4 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.