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.storage.file |
File based repository storage.
|
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 | Description |
---|---|---|
PersonIdent |
CommitCommand.getAuthor() |
|
PersonIdent |
CommitCommand.getCommitter() |
|
PersonIdent |
TagCommand.getTagger() |
Modifier and Type | Method | 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 | 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 | Description |
---|---|---|
RepoCommand |
RepoCommand.setAuthor(PersonIdent author) |
Set the author/committer for the bare repository commit.
|
Modifier and Type | Method | Description |
---|---|---|
PersonIdent |
ReflogEntryImpl.getWho() |
Modifier and Type | Method | 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 | Method | Description |
---|---|---|
PersonIdent |
CommitBuilder.getAuthor() |
|
PersonIdent |
CommitBuilder.getCommitter() |
|
PersonIdent |
BatchRefUpdate.getRefLogIdent() |
|
PersonIdent |
RefRename.getRefLogIdent() |
|
PersonIdent |
RefUpdate.getRefLogIdent() |
|
PersonIdent |
TagBuilder.getTagger() |
|
PersonIdent |
ReflogEntry.getWho() |
Modifier and Type | Method | 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
|
BatchRefUpdate |
BatchRefUpdate.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.
|
void |
RefUpdate.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 | Description |
---|---|
PersonIdent(PersonIdent pi) |
Copy a
PersonIdent . |
PersonIdent(PersonIdent pi,
long aWhen,
int aTZ) |
Copy a PersonIdent, but alter the clone's time stamp
|
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
|
Modifier and Type | Method | 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 | Description |
---|---|---|
PersonIdent |
BaseReceivePack.getRefLogIdent() |
Modifier and Type | Method | Description |
---|---|---|
void |
BaseReceivePack.setRefLogIdent(PersonIdent pi) |
Set the identity of the user appearing in the affected reflogs.
|
Modifier and Type | Method | 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 | 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 © 2018. All rights reserved.