From ebc1f7d65c79ff50fd2833e89b8807db157fecfc Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Thu, 8 Dec 2022 01:16:46 +0100 Subject: [PATCH] commitgraph package: fix exports/imports, add @since tag for new API Change-Id: I9175b1d796f91f5ba4e21d3418550ae451c054b0 --- org.eclipse.jgit.test/META-INF/MANIFEST.MF | 1 + org.eclipse.jgit/META-INF/MANIFEST.MF | 1 + .../jgit/internal/storage/commitgraph/CommitGraphWriter.java | 2 ++ .../eclipse/jgit/internal/storage/commitgraph/GraphCommits.java | 2 ++ 4 files changed, 6 insertions(+) diff --git a/org.eclipse.jgit.test/META-INF/MANIFEST.MF b/org.eclipse.jgit.test/META-INF/MANIFEST.MF index 53223093bb..23ce1dafa2 100644 --- a/org.eclipse.jgit.test/META-INF/MANIFEST.MF +++ b/org.eclipse.jgit.test/META-INF/MANIFEST.MF @@ -37,6 +37,7 @@ Import-Package: com.googlecode.javaewah;version="[1.1.6,2.0.0)", org.eclipse.jgit.internal.diffmergetool;version="[6.5.0,6.6.0)", org.eclipse.jgit.internal.fsck;version="[6.5.0,6.6.0)", org.eclipse.jgit.internal.revwalk;version="[6.5.0,6.6.0)", + org.eclipse.jgit.internal.storage.commitgraph;version="6.5.0", org.eclipse.jgit.internal.storage.dfs;version="[6.5.0,6.6.0)", org.eclipse.jgit.internal.storage.file;version="[6.5.0,6.6.0)", org.eclipse.jgit.internal.storage.io;version="[6.5.0,6.6.0)", diff --git a/org.eclipse.jgit/META-INF/MANIFEST.MF b/org.eclipse.jgit/META-INF/MANIFEST.MF index a0e40c5b7d..b8afcec5a2 100644 --- a/org.eclipse.jgit/META-INF/MANIFEST.MF +++ b/org.eclipse.jgit/META-INF/MANIFEST.MF @@ -81,6 +81,7 @@ Export-Package: org.eclipse.jgit.annotations;version="6.5.0", x-friends:="org.eclipse.jgit.test", org.eclipse.jgit.internal.revwalk;version="6.5.0"; x-friends:="org.eclipse.jgit.test", + org.eclipse.jgit.internal.storage.commitgraph;version="6.5.0", org.eclipse.jgit.internal.storage.dfs;version="6.5.0"; x-friends:="org.eclipse.jgit.test, org.eclipse.jgit.http.server, diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java index 49a73dbd04..2f96c4d773 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphWriter.java @@ -43,6 +43,8 @@ import org.eclipse.jgit.util.NB; /** * Writes a commit-graph formatted file. + * + * @since 6.5 */ public class CommitGraphWriter { diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/GraphCommits.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/GraphCommits.java index e278434dee..23234f9109 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/GraphCommits.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/GraphCommits.java @@ -36,6 +36,8 @@ import org.eclipse.jgit.util.BlockList; *
  • List commits in SHA1 order.
  • *
  • Get the position of a specific SHA1 in the list.
  • * + * + * @since 6.5 */ public class GraphCommits implements Iterable { -- 2.39.5