Signed-off-by: Robin Rosenberg <robin.rosenberg@xxxxxxxxxx> --- .../internal/decorators/GitQuickDiffProvider.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitQuickDiffProvider.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitQuickDiffProvider.java index 91efb56..b2d48cd 100644 --- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitQuickDiffProvider.java +++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/decorators/GitQuickDiffProvider.java @@ -59,6 +59,8 @@ public String getId() { public IDocument getReference(IProgressMonitor monitor) throws CoreException { Activator.trace("(GitQuickDiffProvider) file: " + resource); + if (resource == null) + return null; RepositoryProvider provider = RepositoryProvider.getProvider(resource .getProject()); if (provider != null) { -- 1.6.3.rc2.9.gc9550 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html