Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files ignored but still tracked #295

Closed
julienfalque opened this issue Feb 5, 2017 · 3 comments
Closed

Files ignored but still tracked #295

julienfalque opened this issue Feb 5, 2017 · 3 comments

Comments

@julienfalque
Copy link

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?

@hsz hsz added this to the 1.7 milestone Feb 5, 2017
hsz added a commit that referenced this issue Feb 6, 2017
…y util class, tracked-ignored files lookup
hsz added a commit that referenced this issue Feb 6, 2017
…project view, debounced calls for tracked&ignored data
hsz added a commit that referenced this issue Feb 6, 2017
hsz added a commit that referenced this issue Feb 7, 2017
hsz added a commit that referenced this issue Feb 8, 2017
hsz added a commit that referenced this issue Feb 10, 2017
hsz added a commit that referenced this issue Feb 10, 2017
@hsz
Copy link
Member

hsz commented Feb 10, 2017

@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)

@julienfalque
Copy link
Author

Awesome 👍

@julienfalque
Copy link
Author

Thank you @hsz :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants