diff --git a/LibGit2Sharp/ConfigurationLevel.cs b/LibGit2Sharp/ConfigurationLevel.cs
index b8ab12097..92122727a 100644
--- a/LibGit2Sharp/ConfigurationLevel.cs
+++ b/LibGit2Sharp/ConfigurationLevel.cs
@@ -8,21 +8,21 @@ public enum ConfigurationLevel
///
/// The local .git/config of the current repository.
///
- Local = 4,
+ Local = 5,
///
/// The global ~/.gitconfig of the current user.
///
- Global = 3,
+ Global = 4,
///
/// The global ~/.config/git/config of the current user.
///
- Xdg = 2,
+ Xdg = 3,
///
/// The system wide .gitconfig.
///
- System = 1,
+ System = 2,
}
}
diff --git a/LibGit2Sharp/Core/GitMergeOpts.cs b/LibGit2Sharp/Core/GitMergeOpts.cs
index e122cbdc1..90e5a3ee7 100644
--- a/LibGit2Sharp/Core/GitMergeOpts.cs
+++ b/LibGit2Sharp/Core/GitMergeOpts.cs
@@ -106,9 +106,18 @@ internal enum GitMergeTreeFlags
GIT_MERGE_TREE_NORMAL = 0,
///
- /// GIT_MERGE_TREE_FIND_RENAMES in libgit2
+ /// Detect renames that occur between the common ancestor and the "ours"
+ /// side or the common ancestor and the "theirs" side. This will enable
+ /// the ability to merge between a modified and renamed file.
///
GIT_MERGE_TREE_FIND_RENAMES = (1 << 0),
+
+ ///
+ /// If a conflict occurs, exit immediately instead of attempting to
+ /// continue resolving conflicts. The merge operation will fail with
+ /// GIT_EMERGECONFLICT and no index will be returned.
+ ///
+ GIT_MERGE_TREE_FAIL_ON_CONFLICT = (1 << 1),
}
[Flags]
diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj
index 8254b811a..c2fc74e2e 100644
--- a/LibGit2Sharp/LibGit2Sharp.csproj
+++ b/LibGit2Sharp/LibGit2Sharp.csproj
@@ -1,6 +1,6 @@
-
+
Debug
AnyCPU
@@ -405,7 +405,7 @@
This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
+