Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Egit "*" symbol?

Tags:

git

egit

Hiho,

I'm using the egit plugin for eclipse.

What does this Symbol "*" mean over the icon of a file?

The file is committed but with "git status" the file is marked with "changes to be commited" but with "git diff" happens nothing:/

Here's a screenshot:

http://imgur.com/hUyQN.png

greetings

like image 387
Simon Lenz Avatar asked Sep 11 '10 16:09

Simon Lenz


1 Answers

it means the file is staged for commit, see the section Icon decorations in the eclipse wiki

  • staged - The resource has changes which have been added to the index. Note that adding changes to the index is currently possible only in the commit dialog via the context menu of a resource.
  • partially-staged - The resource has changes which are added to the index and additional changes in the working tree that neither reached the index nor have been committed to the repository.

that is, files which are already tracked by git and changes to them were staged with git add (-p) <file>

like image 142
knittl Avatar answered Sep 29 '22 08:09

knittl