Re: How can I tell if a file is ignored by git?
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Apr 9, 2010, 05:01 UTC
- Message-ID
- <w2i51dd1af81004082201j81a2758di2e430785a72a5b03@mail.gmail.com>
- In-Reply-To
- <w2hf3271551004082150x620aa21az72b7254f57fbc3f5@mail.gmail.com>
On Fri, Apr 9, 2010 at 04:50, Ramkumar Ramachandra <artagnon@gmail.com> wrote:
> I personally use Magit [1]. Just thought you might want to look at it.
Eric might be a bit too personally invested vc.el at this point :)
But yeah, magit is great, unlike vc-dir and vc it makes really good use of Git's index & stash features. Instead of staging individual files for commit you stage chunks, the quality and granularity of my commits has gone up since I switched to it from vc due to that.
But to help with the original question: magit has an ignore feature but it doesn't check whether something is ignored, it just counts on you not ignoring already ignored stuff because it isn't displayed to you.
Depending on how you're planning to implement .gitignore support you might want to go this route.