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.

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


COMMENTS

author: Jayvion Booth
date: 2015-07-03 21:30:52.000000000

Uploaded patch set 11.

-------------------------------------
author: Brenden Conley
date: 2015-07-03 21:30:58.000000000

Patch Set 11:

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

-------------------------------------
author: Brenden Conley
date: 2015-07-03 21:51:56.000000000

Patch Set 11: Verified+1

Build Successful 

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

-------------------------------------
author: Douglas Trujillo
date: 2015-07-03 22:38:00.000000000

Patch Set 11: Code-Review-1

(2 comments)

Line:160, org.eclipse.egit.core/src/org/eclipse/egit/core/internal/util/ResourceUtil.java -> should be private

Line:198, org.eclipse.egit.core/src/org/eclipse/egit/core/internal/util/ResourceUtil.java -> * style nit: move static method to beginning of the class
* visibility can be reduced to private

-------------------------------------
author: Douglas Trujillo
date: 2015-07-03 22:39:08.000000000

Patch Set 11:

(2 comments)

Line:160, org.eclipse.egit.core/src/org/eclipse/egit/core/internal/util/ResourceUtil.java -> Done

Line:198, org.eclipse.egit.core/src/org/eclipse/egit/core/internal/util/ResourceUtil.java -> Done

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