Commit
bdc7f6379278815dc99fd396687f4a65285e8be2
by Simon EderFix jgit lock exception in egit staging view
If a git repository is not linked to a Eclipse project the job locking
mechanism does not work in if files are added and removed to the index
at the same time.
The lock relies on Eclipse job scheduling rules.
Enhance the current implementation for the case that a git repository is
not present as Eclipse project.
Add 2 new test cases:
a) git repository is also a Eclipse project
b) git repository is not a Eclipse project
Bug: egit-10
Change-Id: Ia138bc3e6e5f8fef4d4884869db5cd69d5b6195a