GNU bug report logs - #23436
[PATCH] Use the true name of a file to determine responsible vc.

Previous Next

Package: emacs;

Reported by: Hong Xu <hong <at> topbug.net>

Date: Tue, 3 May 2016 21:34:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: schwab <at> suse.de, hong <at> topbug.net
Cc: dgutov <at> yandex.ru, 23436 <at> debbugs.gnu.org
Subject: bug#23436: [PATCH] Attemp to use the true name of a file to determine responsible vc if the genuine name does not work.
Date: Thu, 20 Oct 2016 13:58:55 +0300
> Date: Thu, 20 Oct 2016 13:02:51 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: hong <at> topbug.net, 23436 <at> debbugs.gnu.org, dgutov <at> yandex.ru
> 
> > > What bothers me is that the use case where there really is no backend
> > > will now take twice as much time as it did before.
> > 
> > Perhaps only do that if the file is a symlink?
> 
> Something like that, yes.  Wouldn't a hard link also be a candidate?
> Are there any others?

Actually, I think the symlink case is the only one we should care
about, as long as we use file-truename.  So yes, doing the second test
only for symlink sounds like the way to avoid doubling the search
time.

Thanks.




This bug report was last modified 8 years and 204 days ago.

Previous Next


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