quietRemoteBranches, verbose| Modifier and Type | Method and Description |
|---|---|
void |
changelog(String revFrom,
String revTo,
OutputStream fos)
Deprecated.
Adds the changelog entries for commits in the range revFrom..revTo.
|
void |
checkoutBranch(String branch,
String commitish)
Deprecated.
Regardless of the current state of the workspace (whether there is some dirty files, etc)
and the state of the repository (whether the branch of the specified name exists or not),
when this method exits the following conditions hold:
The branch of the specified name branch exists and points to the specified ref
HEAD points to branch.
|
void |
clone(org.eclipse.jgit.transport.RemoteConfig source)
Deprecated.
|
void |
clone(org.eclipse.jgit.transport.RemoteConfig rc,
boolean useShallowClone)
Deprecated.
|
String |
describe(String commitIsh)
Deprecated.
|
void |
fetch()
Deprecated.
|
void |
fetch(org.eclipse.jgit.transport.RemoteConfig remoteRepository)
Deprecated.
|
void |
fetch(String repository,
String refspec)
Deprecated.
|
void |
fixSubmoduleUrls(String remote,
hudson.model.TaskListener listener)
Deprecated.
|
String |
getAllLogEntries(String branch)
Deprecated.
|
List<Branch> |
getBranchesContaining(String revspec)
Deprecated.
|
String |
getDefaultRemote(String _default_)
Deprecated.
|
String |
getRemoteUrl(String name,
String GIT_DIR)
Deprecated.
|
String |
getSubmoduleUrl(String name)
Deprecated.
|
List<Tag> |
getTagsOnCommit(String revName)
Deprecated.
|
boolean |
hasGitModules(String treeIsh)
Deprecated.
|
boolean |
isBareRepository()
Deprecated.
|
boolean |
isBareRepository(String GIT_DIR)
Deprecated.
|
List<IndexEntry> |
lsTree(String treeIsh)
Deprecated.
|
void |
merge(String revSpec)
Deprecated.
|
org.eclipse.jgit.lib.ObjectId |
mergeBase(org.eclipse.jgit.lib.ObjectId sha1,
org.eclipse.jgit.lib.ObjectId sha12)
Deprecated.
|
void |
push(org.eclipse.jgit.transport.RemoteConfig repository,
String revspec)
Deprecated.
|
void |
reset()
Deprecated.
|
void |
reset(boolean hard)
Deprecated.
|
List<org.eclipse.jgit.lib.ObjectId> |
revListBranch(String branchId)
Deprecated.
|
void |
setRemoteUrl(String name,
String url,
String GIT_DIR)
Deprecated.
|
void |
setSubmoduleUrl(String name,
String url)
Deprecated.
|
void |
setupSubmoduleUrls(String remote,
hudson.model.TaskListener listener)
Deprecated.
|
List<String> |
showRevision(Revision r)
Deprecated.
|
void |
submoduleInit()
Deprecated.
|
void |
submoduleSync()
Deprecated.
|
add, addNote, addSubmodule, appendNote, branch, checkout, checkout, clean, clone, commit, commit, deleteBranch, deleteTag, fetch, getBranches, getHeadRev, getRemoteBranches, getRemoteUrl, getRepository, getSubmodules, getTagMessage, getTagNames, hasGitModules, hasGitRepo, init, isCommitInRepo, merge, prune, push, revList, revListAll, revParse, setRemoteUrl, setupSubmoduleUrls, showRevision, showRevision, subGit, submoduleClean, submoduleUpdate, tag, tagExistsboolean hasGitModules(String treeIsh) throws GitException
GitExceptionString getRemoteUrl(String name, String GIT_DIR) throws GitException
GitExceptionvoid setRemoteUrl(String name, String url, String GIT_DIR) throws GitException
GitExceptionString getDefaultRemote(String _default_) throws GitException
GitExceptionboolean isBareRepository()
throws GitException
GitExceptionboolean isBareRepository(String GIT_DIR) throws GitException
GitExceptionvoid submoduleInit()
throws GitException
GitExceptionvoid submoduleSync()
throws GitException
GitExceptionString getSubmoduleUrl(String name) throws GitException
GitExceptionvoid setSubmoduleUrl(String name, String url) throws GitException
GitExceptionvoid fixSubmoduleUrls(String remote, hudson.model.TaskListener listener) throws GitException
GitExceptionvoid setupSubmoduleUrls(String remote, hudson.model.TaskListener listener) throws GitException
GitExceptionvoid fetch(String repository, String refspec) throws GitException
GitExceptionvoid fetch(org.eclipse.jgit.transport.RemoteConfig remoteRepository)
void fetch()
throws GitException
GitExceptionvoid reset(boolean hard)
throws GitException
GitExceptionvoid reset()
throws GitException
GitExceptionvoid push(org.eclipse.jgit.transport.RemoteConfig repository,
String revspec)
throws GitException
GitExceptionvoid merge(String revSpec) throws GitException
GitExceptionvoid clone(org.eclipse.jgit.transport.RemoteConfig source)
throws GitException
GitExceptionvoid clone(org.eclipse.jgit.transport.RemoteConfig rc,
boolean useShallowClone)
throws GitException
GitExceptionList<Branch> getBranchesContaining(String revspec) throws GitException
GitExceptionList<IndexEntry> lsTree(String treeIsh) throws GitException
GitExceptionList<org.eclipse.jgit.lib.ObjectId> revListBranch(String branchId) throws GitException
GitExceptionString describe(String commitIsh) throws GitException
GitExceptionList<Tag> getTagsOnCommit(String revName) throws GitException, IOException
GitExceptionIOExceptionvoid changelog(String revFrom, String revTo, OutputStream fos) throws GitException
GitClientchangelog in interface GitClientGitExceptionvoid checkoutBranch(String branch, String commitish) throws GitException
GitClient
This method is preferred over the GitClient.checkout(String, String) family of methods, as
this method is affected far less by the current state of the repository. The checkout
methods, in their attempt to emulate the "git checkout" command line behaviour, have too many
side effects. In Jenkins, where you care a lot less about throwing away local changes and
care a lot more about resetting the workspace into a known state, methods like this is more useful.
For compatibility reasons, the order of the parameter is different from GitClient.checkout(String, String).
checkoutBranch in interface GitClientGitExceptionorg.eclipse.jgit.lib.ObjectId mergeBase(org.eclipse.jgit.lib.ObjectId sha1,
org.eclipse.jgit.lib.ObjectId sha12)
List<String> showRevision(Revision r) throws GitException
GitExceptionCopyright © 2004-2013. All Rights Reserved.