diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/InMemoryRepository.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/InMemoryRepository.java index 6f390a4b3..fd213977a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/InMemoryRepository.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/InMemoryRepository.java @@ -16,6 +16,7 @@ import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; +import org.eclipse.jgit.annotations.Nullable; import org.eclipse.jgit.internal.storage.pack.PackExt; import org.eclipse.jgit.lib.BatchRefUpdate; import org.eclipse.jgit.lib.ObjectId; @@ -54,6 +55,7 @@ public InMemoryRepository build() throws IOException { private final DfsObjDatabase objdb; private final RefDatabase refdb; + private String gitwebDescription; private boolean performsAtomicTransactions = true; /** @@ -94,6 +96,17 @@ public void setPerformsAtomicTransactions(boolean atomic) { performsAtomicTransactions = atomic; } + @Override + @Nullable + public String getGitwebDescription() { + return gitwebDescription; + } + + @Override + public void setGitwebDescription(@Nullable String d) { + gitwebDescription = d; + } + private class MemObjDatabase extends DfsObjDatabase { private List packs = new ArrayList();