diff options
author | yorah <yoram.harmelin@gmail.com> | 2013-08-21 19:46:56 +0400 |
---|---|---|
committer | yorah <yoram.harmelin@gmail.com> | 2013-08-22 12:55:39 +0400 |
commit | c3e602c3846841ecc3c79715c5b97f835787862f (patch) | |
tree | afcbad064a4cd91ce5a40b02bb9905b883c40bb6 /LibGit2Sharp/Core/Ensure.cs | |
parent | 5ae956036aa1e2d7272c6bf9f7dc4c412c5ab0d0 (diff) |
Add strongly-typed LockedFileException
Diffstat (limited to 'LibGit2Sharp/Core/Ensure.cs')
-rw-r--r-- | LibGit2Sharp/Core/Ensure.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LibGit2Sharp/Core/Ensure.cs b/LibGit2Sharp/Core/Ensure.cs index fb8ae4f8..3629d136 100644 --- a/LibGit2Sharp/Core/Ensure.cs +++ b/LibGit2Sharp/Core/Ensure.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.Diagnostics; using System.Globalization; @@ -49,6 +50,7 @@ namespace LibGit2Sharp.Core { GitErrorCode.UnmergedEntries, (m, r, c) => new UnmergedIndexEntriesException(m, r, c) }, { GitErrorCode.NonFastForward, (m, r, c) => new NonFastForwardException(m, r, c) }, { GitErrorCode.MergeConflict, (m, r, c) => new MergeConflictException(m, r, c) }, + { GitErrorCode.LockedFile, (m, r, c) => new LockedFileException(m, r, c) }, }; private static void HandleError(int result) |