From f38a0614f5c6433a3d89e6a62b78dc9a77065a26 Mon Sep 17 00:00:00 2001 From: Thomas Wolf Date: Sat, 17 Dec 2022 10:36:50 +0100 Subject: [PATCH] Fix API warnings for the new CommitGraph Mark the internal package as internal, visible only to the test bundle. Add an API filter for CoreConfig.DEFAULT_COMMIT_GRAPH_ENABLE. Change-Id: Ib62a93b873c93daf638b6c57e62fd267e16801bb Signed-off-by: Thomas Wolf --- org.eclipse.jgit/.settings/.api_filters | 11 +++++++++++ org.eclipse.jgit/META-INF/MANIFEST.MF | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 org.eclipse.jgit/.settings/.api_filters diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters new file mode 100644 index 000000000..ae801e21c --- /dev/null +++ b/org.eclipse.jgit/.settings/.api_filters @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/org.eclipse.jgit/META-INF/MANIFEST.MF b/org.eclipse.jgit/META-INF/MANIFEST.MF index b8afcec5a..453a716d8 100644 --- a/org.eclipse.jgit/META-INF/MANIFEST.MF +++ b/org.eclipse.jgit/META-INF/MANIFEST.MF @@ -81,7 +81,8 @@ 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.commitgraph;version="6.5.0"; + x-friends:="org.eclipse.jgit.test", org.eclipse.jgit.internal.storage.dfs;version="6.5.0"; x-friends:="org.eclipse.jgit.test, org.eclipse.jgit.http.server,