Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331837 - wrong "dirty" decoration on all files
Summary: wrong "dirty" decoration on all files
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-04 10:07 EST by Nicolas Bros CLA
Modified: 2011-12-07 02:45 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2010-12-04 10:07:58 EST
I did:
- Import > Projects from Git
- I cloned a project from GitHub
- I created a new project using the new project wizard that pops up automatically during the wizard

In the imported project, all files (apart from the .gitignore file) have a ">" decoration in their label, indicating they are dirty.

If I do "Compare With > Head Revision" or "Compare With > Git Index" on these files, the comparison editor shows that the 2 versions are identical.

With the command line git, I get this:

$ git status
# On branch master
# Changed but not updated:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified:   .gitignore
#
no changes added to commit (use "git add" and/or "git commit -a")

$ git diff
diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755


I am using:
Eclipse SDK
Version: 3.6.1
Build id: M20100909-0800

I tested this with both Egit 0.9.3 and nightly 0.10.0.201012040919 and I'm getting the same issue.
Comment 1 Nicolas Bros CLA 2010-12-04 10:33:30 EST
This may be related to Bug 307560.

I did a "chmod 644 *", and committed the files (on the command line, EGit wouldn't let me commit since it didn't see any changes).

Now the files don't have a "dirty" decorator anymore.
Comment 2 Stefan Lay CLA 2011-12-07 02:45:47 EST
I think this bug can be closed as Bug 307560 is resolved.