[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51497: 29.0.50; (vc-print-log) broken over TRAMP
From: |
Michael Albinus |
Subject: |
bug#51497: 29.0.50; (vc-print-log) broken over TRAMP |
Date: |
Sun, 31 Oct 2021 09:16:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Dima Kogan <dima@secretsauce.net> writes:
> Hi. I figured this out.
Hi,
> I can try to run this
> command directly (outside of emacs) on the target box:
>
> $ git --no-pager ls-files -c -z -- ':(literal)FILE.c' </dev/null
>
> fatal: Invalid pathspec magic 'literal' in ':(literal)FILE.c'
>
> The issue is that this target box has a version of git too old to know
> about :(literal):
>
> kogan@aargh:~/stereo-server$ git --version
> git version 1.8.3.1
>
> Yeah, it's ancient, but I don't control this particular machine, and I
> don't think basic stuff like "C-x v l" should be non-functional here.
> Can we add some logic to emacs to not hard-depend on this stuff?
vc-git.el could declare a variable which determines, whether the git
command supports :(literal) (perhaps it does already). A user could
change this variable via connection-local settings.
> Thanks
Best regards, Michael.