GNU bug report logs - #78405
31.0.50; vc-next-action from *vc-diff* on remote file: Git error

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Tue, 13 May 2025 12:07:01 UTC

Severity: normal

Found in version 31.0.50

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 78405 <at> debbugs.gnu.org (full text, mbox):

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: 78405 <at> debbugs.gnu.org
Subject: Re: bug#78405: 31.0.50; vc-next-action from *vc-diff* on remote
 file: Git error
Date: Tue, 13 May 2025 18:59:02 +0100
Hello,

On Tue 13 May 2025 at 02:06pm +02, Manuel Giraud wrote:

> Hi,
>
> Using git, it seems that `vc-next-action' from a *vc-diff* buffer on
> remote files does not work anymore.  Here's a recipe:
>
>      - emacs -Q
>      - C-x C-f /-:host:/path/to/file/in_a_git_repo
>      - *some edit*
>      - C-x v =  ;; now in a *vc-diff* buffer
>      - C-x v v  ;; jumps to *vc-log* buffer
>      - *edit log* and C-c C-c
>
> I get the following error in the *Messages* buffer:
> vc-do-command: Failed (status 128): git --no-pager apply --cached /scp:host:/tmp/git-patch2KyUYD .
>
> and the *vc* buffer contains:
> error: can't open patch '/scp:host:/tmp/git-patch2KyUYD': No such file or directory
>
> Note: this works locally and this also works on remote file when there
> is no *vc-diff* buffer involved.

Thanks.  The problem was introduced by my commit
7f60aa45aab4191a44d6d83ec6c3004e4901469b.

I am not sure how to fix it, yet.

-- 
Sean Whitton




This bug report was last modified 4 days ago.

Previous Next


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