Closed gitblit closed 10 years ago
That doesn't compile for me. I need:
diff --git a/implementations/java/src/com/syntevo/bugtraq/BugtraqConfig.java b/implementations/java/src/com/syntevo/bugtraq/BugtraqConfig.java
index 071719e..dc71962 100644
--- a/implementations/java/src/com/syntevo/bugtraq/BugtraqConfig.java
+++ b/implementations/java/src/com/syntevo/bugtraq/BugtraqConfig.java
@@ -34,7 +34,10 @@ import java.util.*;
import org.eclipse.jgit.errors.*;
import org.eclipse.jgit.lib.*;
+import org.eclipse.jgit.revwalk.*;
import org.eclipse.jgit.storage.file.*;
+import org.eclipse.jgit.treewalk.*;
+import org.eclipse.jgit.treewalk.filter.*;
import org.jetbrains.annotations.*;
public final class BugtraqConfig {
Which jgit version are you using?
No, you are right. I copied & pasted code into the bugtraq project (which I don't have configured as an Eclipse Java project - I do now) and I was missing the imports. I did it that way so I wouldn't have to fight our different formatting rules (wildcard imports, drop braces, etc). I pushed a fix commit for the imports.
Thanks!
The reference implementation should support loading
.gitbugtraq
from a bare repository instead of assuming the repository has a work tree.