[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52508: [PATCH] Option for vc-delete-file to keep file on disk
From: |
Lars Ingebrigtsen |
Subject: |
bug#52508: [PATCH] Option for vc-delete-file to keep file on disk |
Date: |
Thu, 08 Sep 2022 16:17:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Reading this bug report, it's unclear what the conclusion is. I agree
that it would be useful to have a command to remove a file from the VC
without deleting it. But I don't think the proposed implementation is
safe, because it only works with git -- and in other VCs, doing `C-u M-x
vc-delete-file' would continue to delete the file, contrary to what the
doc string says.
Dmitry suggested to alter the interface, but that makes for awkward
compatibility.
Perhaps this should be a new command instead? That'd be less confusing,
I think. `M-x vc-remove-file', for instance.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#52508: [PATCH] Option for vc-delete-file to keep file on disk,
Lars Ingebrigtsen <=