public class Commit extends Object
| Constructor and Description |
|---|
Commit(org.eclipse.jgit.lib.ObjectId gitObject,
int headDistance,
List<org.eclipse.jgit.lib.Ref> annotatedTags,
List<org.eclipse.jgit.lib.Ref> lightTags)
Creates commit object using the given informations.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.eclipse.jgit.lib.Ref> |
getAnnotatedTags() |
org.eclipse.jgit.lib.ObjectId |
getGitObject() |
int |
getHeadDistance() |
List<org.eclipse.jgit.lib.Ref> |
getLightTags() |
public Commit(org.eclipse.jgit.lib.ObjectId gitObject,
int headDistance,
List<org.eclipse.jgit.lib.Ref> annotatedTags,
List<org.eclipse.jgit.lib.Ref> lightTags)
gitObject - the git object corresponding the the git nodeheadDistance - number of commit between head and this node (0 if node is HEAD)annotatedTags - list of annotated tags found on the git objectlightTags - list of lightweight tags found on the git objectCopyright © 2016–2018 Matthieu Brouillard. All rights reserved.