]> source.dussan.org Git - jgit.git/commit
RepoProject: read the 'dest-branch' attribute of a project 22/1196922/2 69/1037769/edit-1196922/1
authorKaushik Lingarkar <quic_kaushikl@quicinc.com>
Fri, 28 Jun 2024 17:02:05 +0000 (10:02 -0700)
committerKaushik Lingarkar <quic_kaushikl@quicinc.com>
Tue, 2 Jul 2024 17:16:26 +0000 (17:16 +0000)
commit47fd412affd8d7578606ae9b3015a911b71b13ed
tree39f5b234fc884af0dd224f02fb13fce2eaafa971
parente3e0a1ea35a27e50e0280715a417be7d69fa3345
RepoProject: read the 'dest-branch' attribute of a project

The manifest spec [1] defines a "dest-branch" attribute. Parse its
value and store it in the RepoProject. Also, create a getter/setter
for dest-branch.

[1] https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.md#Element-project

Change-Id: I8ad83b0fec59d2b0967864e4de4fefde4ab971ff
org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/ManifestParserTest.java
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/ManifestParser.java
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java