Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SubmoduleUpdate.cs « LibGit2Sharp - github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d03e3b058440c320b3fb249243d3dd16cbaaea0f (plain)
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
namespace LibGit2Sharp
{
    /// <summary>
    ///   Submodule update rule options.
    /// </summary>
    public enum SubmoduleUpdate
    {
        /// <summary>
        ///   Reset to the last saved update rule.
        /// </summary>
        Default = -1,
        /// <summary>
        ///   Checkout the commit recorded in the superproject.
        /// </summary>
        Checkout = 0,
        /// <summary>
        ///   Rebase the current branch of the submodule onto the commit recorded in the superproject.
        /// </summary>
        Rebase = 1,
        /// <summary>
        ///   Merge the commit recorded in the superproject into the current branch of the submodule.
        /// </summary>
        Merge = 2,
        /// <summary>
        ///   Do not update the submodule.
        /// </summary>
        None = 3,
    }
}