Package | Description |
---|---|
org.eclipse.jgit.junit |
Modifier and Type | Method and Description |
---|---|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.add(String path,
RevBlob id)
Add file with given path and blob
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.add(String path,
String content)
Add file with given content
|
TestRepository.CommitBuilder |
TestRepository.amend(AnyObjectId id)
Amend an existing commit.
|
TestRepository.CommitBuilder |
TestRepository.amendRef(String ref)
Amend an existing ref.
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.author(PersonIdent a)
Set the author identity
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.child()
Create child commit builder
|
TestRepository.CommitBuilder |
TestRepository.commit()
Create commit builder
|
TestRepository.CommitBuilder |
TestRepository.BranchBuilder.commit() |
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.committer(PersonIdent c)
Set the committer identity
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.edit(DirCacheEditor.PathEdit edit)
Edit the index
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.ident(PersonIdent ident)
Set author and committer identity
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.insertChangeId()
Insert changeId
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.insertChangeId(String c)
Insert given changeId
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.message(String m)
Set commit message
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.noFiles()
Remove files
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.noParents()
Remove parent commits
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.parent(RevCommit p)
set parent commit
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.rm(String path)
Remove a file
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.setTopLevelTree(ObjectId treeId)
Set top level tree
|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.tick(int secs)
Tick the clock
|
Modifier and Type | Method and Description |
---|---|
RevCommit |
TestRepository.update(String ref,
TestRepository.CommitBuilder to)
Update a reference to point to an object.
|
RevCommit |
TestRepository.BranchBuilder.update(TestRepository.CommitBuilder to)
Forcefully update this branch to a particular commit.
|
Copyright © 2019 Eclipse JGit Project. All rights reserved.