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: Jayvion Booth
date: 2015-06-28 19:10:23.000000000

Uploaded patch set 5.

-------------------------------------
author: Brenden Conley
date: 2015-06-28 19:40:40.000000000

Patch Set 5:

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

-------------------------------------
author: Brenden Conley
date: 2015-06-28 20:00:09.000000000

Patch Set 5: Code-Review-1

Build Unstable 

https://hudson.eclipse.org/egit/job/egit.gerrit/7201/ : UNSTABLE

-------------------------------------
author: Brenden Conley
date: 2015-06-28 20:57:18.000000000

Patch Set 5: -Code-Review

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

-------------------------------------
author: Brenden Conley
date: 2015-06-28 21:16:07.000000000

Patch Set 5: Code-Review-1

Build Unstable 

https://hudson.eclipse.org/egit/job/egit.gerrit/7205/ : UNSTABLE

-------------------------------------
author: Brenden Conley
date: 2015-06-28 22:29:46.000000000

Patch Set 5: -Code-Review

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

-------------------------------------
author: Brenden Conley
date: 2015-06-28 23:09:49.000000000

Patch Set 5: Verified-1

Build Failed 

https://hudson.eclipse.org/egit/job/egit.gerrit/7208/ : ABORTED

-------------------------------------
author: Jayvion Booth
date: 2015-06-29 05:03:21.000000000

Patch Set 6: Patch Set 5 was rebased

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