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 #17 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: Wed, 14 May 2025 15:36:31 +0100
Hello both,

The FILES-OR-LIST argument to vc-do-command is meant to be VCS-managed
file names, only.  The temporary patch file is not that, so it shouldn't
be passed through there.

The actual bug was that the paths to temporary files were being
relativised to the repository root by the call to file-relative-name in
vc-do-command.

We need to de-TRAMP the temporary file name before passing it to git.

-- 
Sean Whitton




This bug report was last modified 5 days ago.

Previous Next


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