[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51497: 29.0.50; (vc-print-log) broken over TRAMP
From: |
Dmitry Gutov |
Subject: |
bug#51497: 29.0.50; (vc-print-log) broken over TRAMP |
Date: |
Mon, 27 Dec 2021 03:36:33 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
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
Description: Text Data