Subject: bug#38615: 27.0.50; vc-git: Wrong status in vc-dir after registering directory

From: Dmitry Gutov <[email-masked]>
Date: Mon, 16 Dec 2019 15:23:38 +0200

On 16.12.2019 10:00, Andrii Kolomoiets wrote:

> Though point is stil moves to the word "dir" on the second line after
> step 3.
> And directory "dir" status is not updated when:
> 2. C-x v d
> 3. n
> 4. v
> 
> Should it be different bug reports for those cases?

Yes.

These would have to be fixed in vc-dir rather than vc-git, and they 
would require some more investigation about the proper behavior and the 
places to fix.

Regarding the moving of point, personally, I'm not sure which of the 
behaviors is more correct.

The latter is caused basically by:

- Git returning a directory in the file status list.
- Directories not having an actual VCS status in our system.