DESCRIPTION

Don't use RepositoryProvider.getProvider() directly to avoid deadlocks

Added ResourceUtil.getGitProvider(IProject) and
ResourceUtil.isSharedWithGit(IResource) utility methods which mimics the
code in the RepositoryProvider.getProvider() without accessing any
locks.

Additionally fixed related, possible NPE's along the RepositoryMapping
constructor and getGitDirAbsolutePath() code.

Bug: 469555
Change-Id: I2349280b7fe73289a2a1cd9e8c802f8f7499327c
Signed-off-by: Jayvion Booth xxx@xxx.xxx


COMMENTS

author: Brenden Conley
date: 2015-06-30 05:32:11.000000000

Patch Set 8:

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/7228/

-------------------------------------
author: Brenden Conley
date: 2015-06-30 05:54:08.000000000

Patch Set 8: Verified+1

Build Successful 

https://hudson.eclipse.org/egit/job/egit.gerrit/7228/ : SUCCESS

-------------------------------------
