From: Kaushik Lingarkar Date: Fri, 28 Jun 2024 01:05:30 +0000 (-0700) Subject: Make RepoProject#setUpstream public X-Git-Tag: v7.0.0.202407101547-m1~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fchanges%2F21%2F1196921%2F1;p=jgit.git Make RepoProject#setUpstream public Applications using JGit such as Gerrit plugins may have their own manifest parsers. They can start using RepoProject to some extent with this change. Eventually, they can be migrated to use the ManifestParser in JGit, however until then, this change can help make the migration incremental. Change-Id: I6a32d4f4622c3842eedf7873cdfed2f1ca998f6f --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java index b96faab452..09ce28386c 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java @@ -412,7 +412,7 @@ public class RepoProject implements Comparable { * * @since 7.0 */ - void setUpstream(String upstream) { + public void setUpstream(String upstream) { this.upstream = upstream; }