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
URL: https://bugs.eclipse.org/bugs/show_bu...
Keywords:
Depends on:
Blocks:
 
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:


Attachments

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 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.