|
From: | Dmitry Gutov |
Subject: | Re: master 511e3d4e798 3/3: vc-git-checkin: Fix calling 'git apply --cached' remotely |
Date: | Fri, 16 May 2025 02:41:24 +0300 |
User-agent: | Mozilla Thunderbird |
On 15/05/2025 18:18, Stefan Monnier wrote:
- (vc-git-command nil 0 nil "apply" "--cached" patch-file) + (vc-git-command nil 0 nil "apply" "--cached" + (file-local-name patch-file))Curious: would `file-relative-name` work as well? I think it's what we usually do in such circumstances.
My understanding was it's problematic with some backends? https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78405#17I just suggested a bit of code, Sean could comment better on the problems encountered.
As far as our general practice goes though, VC does have several file-local-name calls used for similar purpose, including one in vc-git-checkin added a while back in 6ad42aecc243.
[Prev in Thread] | Current Thread | [Next in Thread] |