]> source.dussan.org Git - jgit.git/commitdiff
Make RepoProject#setUpstream public 57/1197357/1
authorKaushik Lingarkar <quic_kaushikl@quicinc.com>
Fri, 28 Jun 2024 01:05:30 +0000 (18:05 -0700)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 8 Jul 2024 12:04:56 +0000 (14:04 +0200)
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
(cherry picked from commit e3e0a1ea35a27e50e0280715a417be7d69fa3345)

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

index aa1af21d2326436fd9291587fc010cca88e4359d..3ed0bef317fc31bedd0b5cf4c214ea3528a39549 100644 (file)
@@ -411,7 +411,7 @@ public class RepoProject implements Comparable<RepoProject> {
         *
         * @since 6.10
         */
-       void setUpstream(String upstream) {
+       public void setUpstream(String upstream) {
                this.upstream = upstream;
        }