diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java index e506f2b05..12d4d311f 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoCommand.java @@ -297,6 +297,11 @@ public class RepoCommand extends GitCommand { return false; } + @Override + public int hashCode() { + return this.getPathWithSlash().hashCode(); + } + public int compareTo(Project that) { return this.getPathWithSlash().compareTo(that.getPathWithSlash()); }