-
Notifications
You must be signed in to change notification settings - Fork 894
/
Copy pathTagFetchMode.cs
32 lines (29 loc) · 1006 Bytes
/
TagFetchMode.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
31
32
namespace LibGit2Sharp
{
/// <summary>
/// Describe the expected tag retrieval behavior
/// when a fetch operation is being performed.
/// </summary>
public enum TagFetchMode
{
/// <summary>
/// Use the setting from the configuration
/// or, when there isn't any, fallback to default behavior.
/// </summary>
FromConfigurationOrDefault = 0, // GIT_REMOTE_DOWNLOAD_TAGS_FALLBACK
/// <summary>
/// Will automatically retrieve tags that
/// point to objects retrieved during this fetch.
/// </summary>
Auto, // GIT_REMOTE_DOWNLOAD_TAGS_AUTO
/// <summary>
/// No tag will be retrieved.
/// </summary>
None, // GIT_REMOTE_DOWNLOAD_TAGS_NONE
/// <summary>
/// All tags will be downloaded, but _only_ tags, along with
/// all the objects these tags are pointing to.
/// </summary>
All, // GIT_REMOTE_DOWNLOAD_TAGS_ALL
}
}