git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Josh McCullough <joshua.mccullough@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Ignore updates to files which are ignored, even if they're indexed.
Date: Wed, 18 May 2016 08:38:51 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1605180830110.3477@virtualbox> (raw)
In-Reply-To: <CAK-5vhzvuwteJgWSkAhAAFf9-L4FSs2o58yNF5rQQrrE231d3w@mail.gmail.com>

Hi Josh,

On Tue, 17 May 2016, Josh McCullough wrote:

> TL;DR: Git should ignore files if they are in `.gitignore`, regardless
> of whether or not the file has changed (or been removed).

This would break at least one of my setups, where I was too lazy to add
negative rules to .gitignore.

I imagine that I am not the only one relying on the current behavior.
Which means that you would need to tread very carefully should you choose
to work on this.

Besides, it sounds like you want certain files to be "tracked a little",
and at the same time be "untracked a little".

Maybe there is a better solution. Would you care to describe your use case
in more detail, in particular the goal?

Ciao,
Johannes

      reply	other threads:[~2016-05-18  6:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-18  1:07 Ignore updates to files which are ignored, even if they're indexed Josh McCullough
2016-05-18  6:38 ` Johannes Schindelin [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=alpine.DEB.2.20.1605180830110.3477@virtualbox \
    --to=johannes.schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=joshua.mccullough@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).