DESCRIPTION

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

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

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


COMMENTS

author: Jayvion Booth
date: 2015-06-07 22:46:05.000000000

Uploaded patch set 1.

-------------------------------------
author: Brenden Conley
date: 2015-06-07 22:46:12.000000000

Patch Set 1:

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

-------------------------------------
author: Brenden Conley
date: 2015-06-07 23:04:54.000000000

Patch Set 1: Code-Review-1

Build Unstable 

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

-------------------------------------
author: Brenden Conley
date: 2015-06-08 05:20:55.000000000

Patch Set 1: -Code-Review

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

-------------------------------------
author: Brenden Conley
date: 2015-06-08 05:37:38.000000000

Patch Set 1: Verified+1

Build Successful 

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

-------------------------------------
author: Jayvion Booth
date: 2015-06-08 21:48:16.000000000

Patch Set 1: Code-Review-2

Not yet ready, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=469555#c3

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