forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDescribeStrategy.cs
30 lines (28 loc) · 881 Bytes
/
DescribeStrategy.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
namespace LibGit2Sharp
{
/// <summary>
/// Specify the kind of committish which will be considered
/// when trying to identify the closest reference to the described commit.
/// </summary>
public enum DescribeStrategy
{
/// <summary>
/// Only consider annotated tags.
/// </summary>
Default = 0,
/// <summary>
/// Consider both annotated and lightweight tags.
/// <para>
/// This will match every reference under the <code>refs/tags/</code> namespace.
/// </para>
/// </summary>
Tags,
/// <summary>
/// Consider annotated and lightweight tags, local and remote tracking branches.
/// <para>
/// This will match every reference under the <code>refs/</code> namespace.
/// </para>
/// </summary>
All,
}
}