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

Summary: ident flag confuses IDE modification check
Product: versioncontrol Reporter: Jesse Glick <jglick>
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: git
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
URL: https://bugs.eclipse.org/bugs/show_bug.cgi?id=342372
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2011-03-04 17:07:03 UTC
I have https://github.com/apache/maven-3.git checked out at maven-3.0.3; git status confirms that it is "clean". Yet e.g. RuntimeInfo.java 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:
http://egit.eclipse.org/r/#change,1614
http://egit.eclipse.org/r/#change,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.