diff options
author | Thomas Wolf <twolf@apache.org> | 2022-12-17 10:36:50 +0100 |
---|---|---|
committer | Thomas Wolf <twolf@apache.org> | 2022-12-17 10:36:50 +0100 |
commit | f38a0614f5c6433a3d89e6a62b78dc9a77065a26 (patch) | |
tree | d6b5995df250323a8581e9679e6d5cdcb6581055 | |
parent | 0d10ebe5602bc31cd7176f0df8470b4ba6014d89 (diff) | |
download | jgit-f38a0614f5c6433a3d89e6a62b78dc9a77065a26.tar.gz jgit-f38a0614f5c6433a3d89e6a62b78dc9a77065a26.zip |
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 <twolf@apache.org>
-rw-r--r-- | org.eclipse.jgit/.settings/.api_filters | 11 | ||||
-rw-r--r-- | org.eclipse.jgit/META-INF/MANIFEST.MF | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters new file mode 100644 index 0000000000..ae801e21ca --- /dev/null +++ b/org.eclipse.jgit/.settings/.api_filters @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<component id="org.eclipse.jgit" version="2"> + <resource path="src/org/eclipse/jgit/lib/CoreConfig.java" type="org.eclipse.jgit.lib.CoreConfig"> + <filter id="336658481"> + <message_arguments> + <message_argument value="org.eclipse.jgit.lib.CoreConfig"/> + <message_argument value="DEFAULT_COMMIT_GRAPH_ENABLE"/> + </message_arguments> + </filter> + </resource> +</component> diff --git a/org.eclipse.jgit/META-INF/MANIFEST.MF b/org.eclipse.jgit/META-INF/MANIFEST.MF index b8afcec5a2..453a716d8f 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, |