* bug#40670: 28.0.50; Regression: vc-print-log doesn't work with TRAMP because vc-git isn't initialized
@ 2020-04-16 20:07 Dima Kogan
2020-04-17 13:11 ` Michael Albinus
0 siblings, 1 reply; 4+ messages in thread
From: Dima Kogan @ 2020-04-16 20:07 UTC (permalink / raw)
To: 40670
Hi. I'm using a bleeding-edge emacs build from git. Today.
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!
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#40670: 28.0.50; Regression: vc-print-log doesn't work with TRAMP because vc-git isn't initialized
2020-04-16 20:07 bug#40670: 28.0.50; Regression: vc-print-log doesn't work with TRAMP because vc-git isn't initialized Dima Kogan
@ 2020-04-17 13:11 ` Michael Albinus
2020-04-21 11:35 ` Michael Albinus
0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2020-04-17 13:11 UTC (permalink / raw)
To: Dima Kogan; +Cc: 40670
Dima Kogan <dima@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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#40670: 28.0.50; Regression: vc-print-log doesn't work with TRAMP because vc-git isn't initialized
2020-04-17 13:11 ` Michael Albinus
@ 2020-04-21 11:35 ` Michael Albinus
2020-04-21 23:28 ` Dima Kogan
0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2020-04-21 11:35 UTC (permalink / raw)
To: Dima Kogan; +Cc: 40670
Michael Albinus <michael.albinus@gmx.de> writes:
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.
It was a little bit tricky to understand, but I believe I've fixed it
now with commit f212daf0a96999b8c1e63217c22a86d6e1671687. Could you,
pls, check?
>> Thanks!
Best regards, Michael.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#40670: 28.0.50; Regression: vc-print-log doesn't work with TRAMP because vc-git isn't initialized
2020-04-21 11:35 ` Michael Albinus
@ 2020-04-21 23:28 ` Dima Kogan
0 siblings, 0 replies; 4+ messages in thread
From: Dima Kogan @ 2020-04-21 23:28 UTC (permalink / raw)
To: Michael Albinus; +Cc: 40670-done
Michael Albinus <michael.albinus@gmx.de> writes:
> It was a little bit tricky to understand, but I believe I've fixed it
> now with commit f212daf0a96999b8c1e63217c22a86d6e1671687. Could you,
> pls, check?
It works now. Thanks you very much!! I'm closing the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-04-21 23:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-16 20:07 bug#40670: 28.0.50; Regression: vc-print-log doesn't work with TRAMP because vc-git isn't initialized Dima Kogan
2020-04-17 13:11 ` Michael Albinus
2020-04-21 11:35 ` Michael Albinus
2020-04-21 23:28 ` Dima Kogan
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.