Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.blame |
Computing blame/annotate information of files.
|
org.eclipse.jgit.gitrepo | |
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.junit | |
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.revwalk |
Walking revision graphs (commit history).
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
PersonIdent |
CommitCommand.getAuthor() |
PersonIdent |
CommitCommand.getCommitter() |
PersonIdent |
TagCommand.getTagger() |
Modifier and Type | Method and Description |
---|---|
CommitCommand |
CommitCommand.setAuthor(PersonIdent author)
Sets the author for this
commit . |
CommitCommand |
CommitCommand.setCommitter(PersonIdent committer)
Sets the committer for this
commit . |
StashCreateCommand |
StashCreateCommand.setPerson(PersonIdent person)
Set the person to use as the author and committer in the commits made
|
TagCommand |
TagCommand.setTagger(PersonIdent tagger)
Sets the tagger of the tag.
|
Modifier and Type | Method and Description |
---|---|
PersonIdent |
BlameGenerator.getSourceAuthor() |
PersonIdent |
BlameResult.getSourceAuthor(int idx)
Get the author that provided the specified line of the result.
|
PersonIdent |
BlameGenerator.getSourceCommitter() |
PersonIdent |
BlameResult.getSourceCommitter(int idx)
Get the committer that provided the specified line of the result.
|
Modifier and Type | Method and Description |
---|---|
RepoCommand |
RepoCommand.setAuthor(PersonIdent author)
Set the author/committer for the bare repository commit.
|
Modifier and Type | Method and Description |
---|---|
PersonIdent |
Proposal.getAuthor() |
PersonIdent |
KetchSystem.newCommitter(ProposedTimestamp time) |
Modifier and Type | Method and Description |
---|---|
Proposal |
Proposal.setAuthor(PersonIdent who)
Set the author for the proposal.
|
Modifier and Type | Method and Description |
---|---|
PersonIdent |
ReflogEntryImpl.getWho() |
Modifier and Type | Method and Description |
---|---|
ReflogWriter |
ReflogWriter.log(String refName,
ObjectId oldId,
ObjectId newId,
PersonIdent ident,
String message)
Write the given entry information to the ref's log
|
Modifier and Type | Field and Description |
---|---|
protected PersonIdent |
LocalDiskRepositoryTestCase.author
A fake (but stable) identity for author fields in the test.
|
protected PersonIdent |
LocalDiskRepositoryTestCase.committer
A fake (but stable) identity for committer fields in the test.
|
Modifier and Type | Method and Description |
---|---|
PersonIdent |
TestRepository.CommitBuilder.author() |
PersonIdent |
TestRepository.CommitBuilder.committer() |
Modifier and Type | Method and Description |
---|---|
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.author(PersonIdent a) |
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.committer(PersonIdent c) |
TestRepository.CommitBuilder |
TestRepository.CommitBuilder.ident(PersonIdent ident) |
Modifier and Type | Method and Description |
---|---|
PersonIdent |
CommitBuilder.getAuthor() |
PersonIdent |
CommitBuilder.getCommitter() |
PersonIdent |
RefUpdate.getRefLogIdent() |
PersonIdent |
RefRename.getRefLogIdent() |
PersonIdent |
BatchRefUpdate.getRefLogIdent() |
PersonIdent |
TagBuilder.getTagger() |
PersonIdent |
ReflogEntry.getWho() |
Modifier and Type | Method and Description |
---|---|
void |
CommitBuilder.setAuthor(PersonIdent newAuthor)
Set the author (name, email address, and date) of who wrote the commit.
|
void |
CommitBuilder.setCommitter(PersonIdent newCommitter)
Set the committer and commit time for this object
|
void |
RefUpdate.setRefLogIdent(PersonIdent pi)
Set the identity of the user appearing in the reflog.
|
void |
RefRename.setRefLogIdent(PersonIdent pi)
Set the identity of the user appearing in the reflog.
|
BatchRefUpdate |
BatchRefUpdate.setRefLogIdent(PersonIdent pi)
Set the identity of the user appearing in the reflog.
|
void |
TagBuilder.setTagger(PersonIdent taggerIdent)
Set the creator of this tag.
|
Constructor and Description |
---|
PersonIdent(PersonIdent pi)
Copy a
PersonIdent . |
PersonIdent(PersonIdent pi,
Date aWhen)
Copy a
PersonIdent , but alter the clone's time stamp |
PersonIdent(PersonIdent pi,
Date when,
TimeZone tz)
Copy a PersonIdent, but alter the clone's time stamp
|
PersonIdent(PersonIdent pi,
long aWhen,
int aTZ)
Copy a PersonIdent, but alter the clone's time stamp
|
Modifier and Type | Method and Description |
---|---|
PersonIdent |
RevCommit.getAuthorIdent()
Parse the author identity from the raw buffer.
|
PersonIdent |
RevCommit.getCommitterIdent()
Parse the committer identity from the raw buffer.
|
PersonIdent |
RevTag.getTaggerIdent()
Parse the tagger identity from the raw buffer.
|
Modifier and Type | Method and Description |
---|---|
PersonIdent |
BaseReceivePack.getRefLogIdent() |
Modifier and Type | Method and Description |
---|---|
void |
PushCertificateStore.put(PushCertificate cert,
PersonIdent ident)
Put a certificate to be saved to the store.
|
void |
PushCertificateStore.put(PushCertificate cert,
PersonIdent ident,
Collection<ReceiveCommand> matching)
Put a certificate to be saved to the store, matching a set of commands.
|
void |
BaseReceivePack.setRefLogIdent(PersonIdent pi)
Set the identity of the user appearing in the affected reflogs.
|
Modifier and Type | Method and Description |
---|---|
static PersonIdent |
RawParseUtils.parsePersonIdent(byte[] raw,
int nameB)
Parse a name line (e.g.
|
static PersonIdent |
RawParseUtils.parsePersonIdent(String in)
Parse a name string (e.g.
|
static PersonIdent |
RawParseUtils.parsePersonIdentOnly(byte[] raw,
int nameB)
Parse a name data (e.g.
|
Modifier and Type | Method and Description |
---|---|
static ObjectId |
ChangeIdUtil.computeChangeId(ObjectId treeId,
ObjectId firstParentId,
PersonIdent author,
PersonIdent committer,
String message)
Compute a Change-Id.
|
String |
GitDateFormatter.formatDate(PersonIdent ident)
Format committer, author or tagger ident according to this formatter's
specification.
|
Copyright © 2017 Eclipse JGit Project. All rights reserved.