Top Description Fields Constructors Methods
org.eclipse.jgit.gitrepo

pack-priv Class RegularSuperprojectWriter

extends Object
Class Inheritance
Static Imports
org.eclipse.jgit.lib.Constants.DEFAULT_REMOTE_NAME, .Constants.R_REMOTES

Writes .gitmodules and gitlinks of parsed manifest projects into a regular repository (using git submodule commands) To write on a bare repository, use BareSuperprojectWriter

Field Summary

Modifier and TypeField and Description
private ProgressMonitor
private Repository

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private void
addSubmodule(String name, String url, String path, String revision, List<RepoProject.CopyFile> copyfiles, List<RepoProject.LinkFile> linkfiles, Git git)

private static String
pack-priv RevCommit
write(List<RepoProject> repoProjects)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

monitorback to summary
private ProgressMonitor monitor
repoback to summary
private Repository repo

Constructor Detail

RegularSuperprojectWriterback to summary
pack-priv RegularSuperprojectWriter(Repository repo, ProgressMonitor monitor)

Method Detail

addSubmoduleback to summary
private void addSubmodule(String name, String url, String path, String revision, List<RepoProject.CopyFile> copyfiles, List<RepoProject.LinkFile> linkfiles, Git git) throws GitAPIException, IOException
findRefback to summary
private static String findRef(String ref, Repository repo) throws IOException
writeback to summary
pack-priv RevCommit write(List<RepoProject> repoProjects) throws GitAPIException