]> source.dussan.org Git - jgit.git/commitdiff
Make RepoProject#setUpstream public 21/1196921/1
authorKaushik Lingarkar <quic_kaushikl@quicinc.com>
Fri, 28 Jun 2024 01:05:30 +0000 (18:05 -0700)
committerKaushik Lingarkar <quic_kaushikl@quicinc.com>
Mon, 1 Jul 2024 18:47:03 +0000 (11:47 -0700)
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

org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java

index b96faab452aa62a3b0de912b7f41b6cae47e39eb..09ce28386cf84921c21200d4861ccd64172025c1 100644 (file)
@@ -412,7 +412,7 @@ public class RepoProject implements Comparable<RepoProject> {
         *
         * @since 7.0
         */
-       void setUpstream(String upstream) {
+       public void setUpstream(String upstream) {
                this.upstream = upstream;
        }