|
From: | Ashwin Kafle |
Subject: | bug#52507: [PATCH] Option for vc-delete-file to keep file on disk |
Date: | Sun, 26 Dec 2021 14:23:18 +0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes: > --cached can't be used anyway, because vc commands doesn't use the git index. It's not --cached that is the problem. Even the unpatched vc-delete-file effectively uses --cached because the file is removed while backuping and never brought back for git to delete it. Say you use the current vc-delete-file and then immediately restore it from backup (before commiting). VC will show the file as unregistered. I think this behavior of vc should be fixed instead.
[Prev in Thread] | Current Thread | [Next in Thread] |