Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
Modifier and Type | Method and Description |
---|---|
Status |
StatusCommand.call()
Executes the
Status command with all the options and parameters
collected by the setter methods of this class. |
Set<String> |
CleanCommand.call()
Executes the
clean command with all the options and parameters
collected by the setter methods of this class. |
Modifier and Type | Method and Description |
---|---|
File |
Repository.getIndexFile() |
File |
Repository.getWorkTree() |
DirCache |
Repository.lockDirCache()
Create a new in-core index representation, lock it, and read from disk.
|
ObjectId |
Repository.readCherryPickHead()
Return the information stored in the file $GIT_DIR/CHERRY_PICK_HEAD.
|
DirCache |
Repository.readDirCache()
Create a new in-core index representation and read an index from disk.
|
String |
Repository.readMergeCommitMsg()
Return the information stored in the file $GIT_DIR/MERGE_MSG.
|
List<ObjectId> |
Repository.readMergeHeads()
Return the information stored in the file $GIT_DIR/MERGE_HEAD.
|
ObjectId |
Repository.readOrigHead()
Return the information stored in the file $GIT_DIR/ORIG_HEAD.
|
ObjectId |
Repository.readRevertHead()
Return the information stored in the file $GIT_DIR/REVERT_HEAD.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ResolveMerger.cleanUp()
Reverts the worktree after an unsuccessful merge.
|
Copyright © 2014. All rights reserved.