Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
Modifier and Type | Method and Description |
---|---|
DescribeCommand |
Git.describe()
Return a command object to come up with a short name that describes a
commit in terms of the nearest git tag.
|
DescribeCommand |
DescribeCommand.setLong(boolean longDesc)
Determine whether always to use the long format or not.
|
DescribeCommand |
DescribeCommand.setMatch(String... patterns)
Sets one or more
glob(7) patterns that tags must match to be
considered. |
DescribeCommand |
DescribeCommand.setTags(boolean tags)
Instead of using only the annotated tags, use any tag found in refs/tags
namespace.
|
DescribeCommand |
DescribeCommand.setTarget(ObjectId target)
Sets the commit to be described.
|
DescribeCommand |
DescribeCommand.setTarget(String rev)
Sets the commit to be described.
|
Copyright © 2018 Eclipse JGit Project. All rights reserved.