GNU bug report logs -
#51497
29.0.50; (vc-print-log) broken over TRAMP
Previous Next
Reported by: dima <at> secretsauce.net
Date: Sat, 30 Oct 2021 01:26:02 UTC
Severity: normal
Tags: moreinfo
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On 08.11.2021 21:18, Eli Zaretskii wrote:
> So what would you suggest as the way forward, for both emacs-28 and
> the master branches (the 2 solutions could be different)? Do you
> still prefer to go with your original patch for emacs-28?
I'm still of two minds a little bit: conceptually, the current approach
is a little cleaner because it forces the opt-in approach, and thus
won't affect any command (or use of functions like
vc-git--run-command-string outside of vc-git.el) that didn't opt into
using literal pathspecs.
But my original approach is simpler and shorter, and together with an
opt-out var seems to solve every problem so far. It doesn't need version
detection either (a patch to have it work on remote hosts was discussed
previously here).
So here's the patch (my current preferred solution for both emacs-28 and
master).
Waiting for feedback from AndyM.
[redo-literal-pathspecs.diff (text/x-patch, attachment)]
This bug report was last modified 3 years and 182 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.