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.

Bug 196315 - ident flag confuses IDE modification check
Summary: ident flag confuses IDE modification check
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
Depends on:
Reported: 2011-03-04 17:07 UTC by Jesse Glick
Modified: 2013-06-05 11:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-03-04 17:07:03 UTC
I have checked out at maven-3.0.3; git status confirms that it is "clean". Yet e.g. in Maven Settings has

 * @version $Id: c0480a60ce4db971fb5f767559b76de5e9b4e3bd $

and this is displayed as a modified line in the editor, the diff window, the Projects tab, etc. So most of the open modules are displayed as edited in Projects when in fact they are not.

See .gitattributes:

*.java             ident
Comment 1 Ondrej Vrabec 2011-03-07 10:47:52 UTC
Support of gitattributes is missing in JGit. There's a draft in their review tool, however it's not certain when it could be finished:,1614,1615
Comment 2 Jesse Glick 2011-03-07 15:07:41 UTC
Those changes do not look to interpret ident anyway.

In the meantime I will propose removing $Id$ from Maven sources - ill-advised holdover from CVS, I guess.