Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does Egit mean with the number in parenthesis in Package Explorer

Tags:

git

eclipse

egit

What is meant by EGit when it displays a number in parenthesis in Package Explorer next to the project name, and a source folder name, but nowhere below?

e.g. notice the number (16):

enter image description here

I have checked out a tag from GIT (HEAD detached state). I don't have any local changes - neither committed or uncommitted.

If that's of relevance, it's a Gerrit repository, in Eclipse Kepler SR1 (Build id: 20130919-0819)

And I don't see a match with the configuration (I am using the default one) under Preferences | Team | GIt | Label Decorations | Projects:

  {dirty:>} {name}  [{repository} {branch}{ branch_status}]
like image 248
Grzegorz Oledzki Avatar asked Sep 29 '22 13:09

Grzegorz Oledzki


People also ask

What is EGIT?

EGit is an Eclipse Team provider for the Git version control system. Git is a distributed SCM, which means every developer has a full copy of all history of every revision of the code, making queries against the history very fast and versatile.

How do I fix rejected non fast forward in Eclipse?

If you do a commit in one project and then accidentally push this commit, with bypassing code review, to another project, this will fail with the error message 'non-fast forward'. To fix the problem you should check the push specification and verify that you are pushing the commit to the correct project.

What does fetch from upstream mean in Eclipse?

fetch from upstream does not overwrite anything in the working tree. But pull will, but it will not completely destory work, it will create a conflict to manually merge if it can not do it automatically. I suggest if you are unsure, ensure you working tree is clean, and everything commited.


1 Answers

It's not from EGit.

Note that it's also on src/main/java. I would guess it's from Findbugs or Checkstyle or another plug-in.

like image 116
robinst Avatar answered Oct 02 '22 15:10

robinst