all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Shouldn't vc-dir show only files under VC by default?
Date: Tue, 01 Oct 2019 08:49:15 -0400	[thread overview]
Message-ID: <jwv8sq41vol.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: Ax5zYQ.Bhatb7mumvTe.aui3cT9OwZ75SZTTiAP@freemail.hu

> The problem is I have to use a tool (Android Studio) which generates
> lots of extra files and directories automatically in the source tree
> which I may or may not modify.

AFAIK, this problem should affect all users, rather than only VC users,
because it's standard practice to show unregistered files (e.g. `git status`
also shows them).

So, maybe you should ask around the Android Studio crowd how people
usually deal with that.

> If I don't modify them then they can be
> ignored, but if I do modify them then I have to add them to git and in
> the latter case it is inconvenient that I have to unignore the file
> first.

You don't need to "unignore" them.  Just `git add <file>` and you're done.
`.gitignore` only determines whether a unknown file should be mentioned
as "unregistered" or not; it has no effect on files which are under
Git's control.


        Stefan




  parent reply	other threads:[~2019-10-01 12:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-30  4:32 Shouldn't vc-dir show only files under VC by default? ndame
2019-09-30  7:14 ` Eli Zaretskii
2019-10-01 12:49 ` Stefan Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-09-29  9:53 ndame
2019-09-29 21:48 ` Stefan Monnier

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=jwv8sq41vol.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /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.