Namespaces

Types in GitSharp.Commands

Type DescribeCommand

Namespace GitSharp.Commands

Parent AbstractCommand

Properties

Public properties

string Abbrev get; set;

Not implemented Instead of using the default 7 hexadecimal digits as the abbreviated object name, use digits, or as many digits as needed to form a unique object name. An of 0 will suppress long format, only showing the closest tag.

string ActualDirectory get;

bool All get; set;

Not implemented Instead of using only the annotated tags, use any ref found in `.git/refs/`. This option enables matching any known branch, remote branch, or lightweight tag.

bool Always get; set;

Not implemented Show uniquely abbreviated commit object as fallback.

List<string> Arguments get; set;

string Candidates get; set;

Not implemented Instead of considering only the 10 most recent tags as candidates to describe the input committish consider up to candidates. Increasing above 10 will take slightly longer but may produce a more accurate result. An of 0 will cause only exact matches to be output.

bool Contains get; set;

Not implemented Instead of finding the tag that predates the commit, find the tag that comes after the commit, and thus contains it. Automatically implies --tags.

bool Debug get; set;

Not implemented Verbosely display information about the searching strategy being employed to standard error. The tag name will still be printed to standard out.

bool ExactMatch get; set;

Not implemented Only output exact matches (a tag directly references the supplied commit). This is a synonym for --candidates=0.

string GitDirectory get; set;

bool Long get; set;

Not implemented Always output the long format (the tag, the number of commits and the abbreviated commit name) even when it matches a tag. This is useful when you want to see parts of the commit object name in "describe" output, even when the commit in question happens to be a tagged version. Instead of just emitting the tag name, it will describe such a commit as v1.2-0-gdeadbee (0th commit since tag v1.2 that points at object deadbee....).

string Match get; set;

Not implemented Only consider tags matching the given pattern (can be used to avoid leaking private tags made from the repository).

StreamWriter OutputStream get; set;

Repository Repository get; set;

bool Tags get; set;

Not implemented Instead of using only the annotated tags, use any tag found in `.git/refs/tags`. This option enables matching a lightweight (non-annotated) tag.