]> source.dussan.org Git - jgit.git/commit
RepoProject: read the 'dest-branch' attribute of a project 58/1197358/1
authorKaushik Lingarkar <quic_kaushikl@quicinc.com>
Fri, 28 Jun 2024 17:02:05 +0000 (10:02 -0700)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 8 Jul 2024 12:06:03 +0000 (14:06 +0200)
commitcfdfb01f4c7de1d61a4913deac1d02837b53df82
tree4f08678444c3dedcf93414355a41a1ae908b7975
parent3d8420ecd83745355a5f4f08541d019032f8bac8
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
(cherry picked from commit 47fd412affd8d7578606ae9b3015a911b71b13ed)
org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/ManifestParserTest.java
org.eclipse.jgit/.settings/.api_filters [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/ManifestParser.java
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java