question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin marking included files as ignored

See original GitHub issue

Since upgrading to the latest version of this (very useful!) plugin, I’m getting warnings that some files are ignored by git that actually aren’t. This occurs when I use blocks like this in my .gitignore:

wp-content/plugins/*
!wp-content/plugins/plugin-to-include-anyway
!wp-content/plugins/another-exception

For now I have turned off the ‘Inform about ignored files that are still tracked’ and ‘Inform about editing ignored file’ options. This is probably similar to issue #340, but I’m creating a separate issue since this is a different syntax that isn’t understood properly.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
almothafarcommented, Mar 16, 2017

Yes I just about reported the same issue, even with the following line:

/project
!/project/build.properties
!/project/plugins.sbt

The plugin show me the message

Ignored files found that are tracked: .ignore plugin found some files that are tracked with Git which are also listed in .gitignore file.

And advice me to remove them with git! oh no, don’t do that! it is not a joke!

1reaction
christian-weisscommented, Mar 11, 2017

I can confirm that behavior with IntelliJ IDEA 2016.3.5 and plugin version 1.7.6

build/releasePhar/ !build/releasePhar/.gitkeep

.gitkeep file is marked as ‘ignored, tracked with git’ but in fact git do not ignore it because i told git to not ignore it. Message appears after update from IDEA 2016.3.2 to 2016.3.5 and updating plugin to 1…7.6.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does Visual Studio mark my added .cs files as "ignored"?
They are (most likely) being ignored by .gitignore file. If you can't see anything obvious (check substrings of the file name as well...
Read more >
An Interview with Jakub Chrzanowski, .ignore Plugin Author
This plugin lets you mark matched .ignore files in project view, assists with editing them, and helps you generate ignore rules using ...
Read more >
Remove .gitignore | WordPress.org
The plugin contains a .gitignore file that is ignoring files that the plugin requires to run. Anyone who includes the plugin in a...
Read more >
.gitignore file - ignoring files in Git | Atlassian Git Tutorial
Git ignore patterns are used to exclude certain files in your working directory from your Git ... you can use # to include...
Read more >
File Types Ignored or Blocked by Box Sync and Box Drive
Ignored files include invisible in Windows Explorer. ... Marking the Box Sync root folder as hidden deletes all synced content on Box.com.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found