public interface ReflogEntry
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX_CREATED
Prefix used in reflog messages when the ref was first created.
|
static String |
PREFIX_FAST_FORWARD
Prefix used in reflog messages when the ref was updated with a fast
forward.
|
static String |
PREFIX_FORCED_UPDATE
Prefix used in reflog messages when the ref was force updated.
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get textual description of the change
|
ObjectId |
getNewId()
Get the commit id after the change
|
ObjectId |
getOldId()
Get the commit id before the change
|
PersonIdent |
getWho()
Get user performing the change
|
CheckoutEntry |
parseCheckout()
Parse checkout
|
static final String PREFIX_CREATED
Does not have a corresponding constant in C git, but is untranslated like the other constants.
static final String PREFIX_FAST_FORWARD
Untranslated, and exactly matches the untranslated string in C git.
static final String PREFIX_FORCED_UPDATE
Untranslated, and exactly matches the untranslated string in C git.
ObjectId getOldId()
ObjectId getNewId()
PersonIdent getWho()
String getComment()
CheckoutEntry parseCheckout()
CheckoutEntry
with parsed
information about a branch switch, or null if the entry is not a
checkoutCopyright © 2017 Eclipse JGit Project. All rights reserved.