bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23436: [PATCH] Attemp to use the true name of a file to determine re


From: Eli Zaretskii
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@gnu.org>
> Cc: hong@topbug.net, 23436@debbugs.gnu.org, dgutov@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]