GNU bug report logs - #40670
28.0.50; Regression: vc-print-log doesn't work with TRAMP because vc-git isn't initialized

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Thu, 16 Apr 2020 20:14:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Dima Kogan <dima <at> secretsauce.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Dima Kogan <dima <at> secretsauce.net>
Cc: 40670 <at> debbugs.gnu.org
Subject: bug#40670: 28.0.50; Regression: vc-print-log doesn't work with TRAMP because vc-git isn't initialized
Date: Fri, 17 Apr 2020 15:11:48 +0200
Dima Kogan <dima <at> secretsauce.net> writes:

> Hi. I'm using a bleeding-edge emacs build from git. Today.

Hi Dima,

> The problem:
>
> 1. emacs -Q
>
> 2. C-x C-f /ssh:host:file
>
>    Open any file that lives in a git repo on a remote server
>
> 3. C-x v l
>
>    I expect to see the git log for this file, but I get an error: "File
>    is not under version control". The modeline doesn't show that emacs
>    recognized this as a git file. Also, the only "vc-git-..." function
>    that emacs knows about at this point is vc-git-registered. Clearly
>    something was supposed to initialize vc-git but that didn't happen.
>    As a workaround I CAN do:
>
> 4. C-x v L
>
>    This does work to show me the git history of this whole project. This
>    loaded vc-git, so I can now go back to the earlier buffer, and C-x v
>    l works now

Thanks for the report. I've applied git bisect. Looks like commit
76b3bd8cbb9a0a01941d9c1766c054960e4bfd97 (Improve Tramp cache for
asynchronous processes) has broken Emacs here.

Since I'm the author of that patch, I'll debug. Will report later.

> Thanks!

Best regards, Michael.




This bug report was last modified 5 years and 83 days ago.

Previous Next


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