Idea-gitignore: Files ignored but still tracked

Created on 5 Feb 2017  路  3Comments  路  Source: JetBrains/idea-gitignore

With Git, when a file is tracked and then added to .gitignore (or whatever ignore list), the file remains tracked until it is completely removed, making the ignore entry ineffective by then. If one edits the file, git status will still report the file as modified and allow to commit the changes.

The problem is that the .ignore plugin shows such file as ignored in the IDE despite it's not. Would it be possible to not show the file as ignored as long as it is tracked by Git? Or create a new file status in the IDE to distinguish it from files that are actually ignored?

bug feature request ready for release

All 3 comments

@julienfalque Thank you for this request. It also led to to create something bigger, anyway - finally I got the point and now we can use _native_ VCS colors for modified files, but in addition, there is an information that this file is ignored (by purpose or not).

There is also some baloon notification about this situation which sugests to _untrack_ those files (it calls git rm --cached on the selected entries).

image

(yeah, a lot of new stuff on one screenshot)

Awesome 馃憤

Thank you @hsz :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

afsfge picture afsfge  路  7Comments

hoangtranwork picture hoangtranwork  路  3Comments

matewka picture matewka  路  5Comments

Ionaru picture Ionaru  路  6Comments

mfursov picture mfursov  路  3Comments