all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Andrii Kolomoiets <andreyk.mad@gmail.com>
Cc: 38615-done@debbugs.gnu.org
Subject: bug#38615: 27.0.50; vc-git: Wrong status in vc-dir after registering directory
Date: Tue, 17 Dec 2019 01:53:56 +0200	[thread overview]
Message-ID: <4cbe36da-71c6-8484-62a2-78630155373a@yandex.ru> (raw)
In-Reply-To: <m2sglkys2c.fsf@gmail.com>

On 16.12.2019 21:43, Andrii Kolomoiets wrote:

>> Regarding the moving of point, personally, I'm not sure which of the
>> behaviors is more correct.
> 
> It's `vc-dir-move-to-goal-column' called after `vc-register'. I will
> make dedicated bug report.

Thanks.

>> 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.
> 
> How about to list files and not directories? This will allow to register
> untracked files under untracked directory with single `v'. Please see
> attached patch.

Okay, let's try this, thank you.

I believe the original idea was to avoid overwhelming the user when 
there are a lot of unregistered files (build artefacts and the like), 
but that's what gitignore is for.

Both patches are pushed, closing.





      reply	other threads:[~2019-12-16 23:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-14 12:41 bug#38615: 27.0.50; vc-git: Wrong status in vc-dir after registering directory Andrii Kolomoiets
2019-12-16  1:25 ` Dmitry Gutov
2019-12-16  8:00   ` Andrii Kolomoiets
2019-12-16 13:23     ` Dmitry Gutov
2019-12-16 19:43       ` Andrii Kolomoiets
2019-12-16 23:53         ` Dmitry Gutov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4cbe36da-71c6-8484-62a2-78630155373a@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=38615-done@debbugs.gnu.org \
    --cc=andreyk.mad@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.