aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorKaushik Lingarkar <quic_kaushikl@quicinc.com>2024-06-27 18:05:30 -0700
committerMatthias Sohn <matthias.sohn@sap.com>2024-07-08 14:04:56 +0200
commit3d8420ecd83745355a5f4f08541d019032f8bac8 (patch)
tree1e37133bd821c6b8142d829419ae157b288b4671 /org.eclipse.jgit
parent4bc6eb8a70281b30e40ebe2fb12927ce2d2640df (diff)
downloadjgit-3d8420ecd83745355a5f4f08541d019032f8bac8.tar.gz
jgit-3d8420ecd83745355a5f4f08541d019032f8bac8.zip
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 (cherry picked from commit e3e0a1ea35a27e50e0280715a417be7d69fa3345)
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java2
1 files changed, 1 insertions, 1 deletions
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 aa1af21d23..3ed0bef317 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java
@@ -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;
}