Re: master 1d91d9b717d: project-vc-dir: Use truenames

Dmitry Gutov <[email protected]> Sat, 25 Jul 2026 05:38:00 +0300
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
On 24/07/2026 13:16, Sean Whitton wrote:
> Dmitry Gutov [24/Jul  5:51am +03] wrote:
>> I'm curious if either of you finds the same logic inside
>> 'vc-refresh-state' more legible. I've had to trace it back when writing
>> the patch, so it was the reference to compare. ;-)
> 
> Somehow, yes, I do find vc-refresh-state more legible.

All right. I should have referenced it more explicitly from the start.

>> +      ;; Try to match the result of `vc-refresh-state' in a file buffer.
>> +      ;; Otherwise if you do C-x v d -> C-x C-f -> C-x v d you may get a
>> +      ;; new *vc-dir* buffer, different from the original.
>> +      ;; We use the truename if the DIR has no VC backend detected, but
>> +      ;; its truename differs, and has a VC backend.
> 
> I find the referent of "its" unclear here.

Joao's shorter version seems better, I'll use it.