[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18579: 24.3.93; vc-bzr-after-dir-status should not skip ignored file

From: Dmitry Gutov
Subject: bug#18579: 24.3.93; vc-bzr-after-dir-status should not skip ignored files
Date: Tue, 30 Sep 2014 02:51:33 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2

On 09/29/2014 05:24 PM, Stefan Monnier wrote:

But here's a related question: if we fix this bug (i.e. the file appears
as `ignored' after the call to M-x vc-ignore, or disappears), why would
we need dir-status to list the file as `ignored'?

Maybe we won't, as far as this purpose goes.

Though maybe not updating immediately was a conscious decision, of sorts. After all, instead of calling `vc-ignore', I could edit .gitignore by hand.

Then, if we decide that the buffer should be listed as `ignored' after `vc-ignore' call, the result of an edit by hand + `vc-dir-refresh' would be different: the file will disappear from the list.

Whereas it doesn't matter if I use the `vc-revert' command or `git co path/to/file', the file item in the `vc-dir' buffer will revert to `up-to-date', immediately in the former case, and after `vc-dir-refresh' in the latter case.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]