This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE 7.3.1 (Build 201304162201) Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 I have a maven based git version controlled project. Add new javascript file, use "newjavascript" as name. write "asdf" in the file. Team -> show changes, "newajavascript.js" appears in green. Select file. Team -> git -> ignore, file disappears. Editor open, title turns gray "newjavascript.js [i]" Verify: Right click on project, git->commit, only ".gitignore" is changed/blue Team -> Revert -> Revert modifications, select "remove also new files and folders" Editor stills open with "newjavascript [i]" Right click on project: git->commit, "newjavascript.js" in green, status "added". If I now do again the "team->revert->revert modifications" the file is correctly removed.
The reason is different. By Revert Modifications you revert the change in .gitignore file and this change is not reflected in the IDE: the status of the ignored file is not automatically refreshed.