jgit/org.eclipse.jgit.pgm
Stefan Beller cdd7c23446 RepoCommand: Add setRecordRemoteBranch option to record upstream branch
On a server also running Gerrit that is using RepoCommand to
convert from an XML manifest to a git submodule superproject
periodically, it would be handy to be able to use Gerrit's
submodule subscription feature[1] to update the superproject
automatically between RepoCommand runs as changes are merged
in each subprojects.

This requires setting the 'branch' field for each submodule
so that Gerrit knows what branch to watch.  Add an option to
do that.

Setting the branch field also is useful for plain Git users,
since it allows them to use "git submodule update --remote" to
manually update all submodules between RepoCommand runs.

[1] https://gerrit-review.googlesource.com/Documentation/user-submodules.html

Change-Id: I1a10861bcd0df3b3673fc2d481c8129b2bdac5f9
Signed-off-by: Stefan Beller <sbeller@google.com>
2015-10-05 16:01:11 -07:00
..
.settings Enable annotation based NPE analysis in jgit 2015-08-20 21:10:04 +02:00
META-INF Prepare 4.2.0-SNAPSHOT builds 2015-09-28 14:48:41 +02:00
resources RepoCommand: Add setRecordRemoteBranch option to record upstream branch 2015-10-05 16:01:11 -07:00
src/org/eclipse/jgit RepoCommand: Add setRecordRemoteBranch option to record upstream branch 2015-10-05 16:01:11 -07:00
.classpath Set minimum required Java version to Java 7 2015-02-09 14:11:50 +01:00
.gitignore Finish removing Apache Felix maven-bundle-plugin 2010-01-12 11:46:55 -08:00
.project Enforce the use of Java5 API:s only (with a few exceptions) 2011-12-16 01:01:36 +01:00
about.html Add missing about.html files to all shipped bundles 2011-06-08 21:51:51 +02:00
build.properties Add missing resources from source.. in build.properties 2013-10-30 17:42:38 +01:00
jgit.sh Make jgit.sh work on windows when JGIT_CLASSPATH is set 2014-12-01 14:54:17 +01:00
plugin.properties Fix plugin provider names to conform with release train requirement 2013-04-08 23:05:36 +02:00
pom.xml Prepare 4.2.0-SNAPSHOT builds 2015-09-28 14:48:41 +02:00