|
From: | Pankaj Jangid |
Subject: | bug#44420: 28.0.50; vc-register, under vc-dir buffer, says file already registered |
Date: | Thu, 05 Nov 2020 16:02:10 +0530 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) |
Andrii Kolomoiets <andreyk.mad@gmail.com> writes: >> Got it. But the second clause `or the current directory if no files are >> marked' is not accurate. Because in that case `i' (vc-register) works if >> the point is on an untracked item. > > Indeed. > >> Wait... is `vc-deduce-fileset' relevant for `vc-register'? I don't >> know. > > Yes. `vc-register` is calling `vc-deduce-fileset` right after `interactive`. So, it's a bug. >>> Including file name in the "File already registered" message may help to >>> understand whats going on though. >> >> This could be a long list. We can just say "Marked file(s) already >> registered". > > Files in the list are checked one by one and error is returned for the > first registered file. IMO filename will fit well in the error message. Yes one filename will definitely fit.
[Prev in Thread] | Current Thread | [Next in Thread] |