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

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-02-27 20:46:16 +0400
committernulltoken <emeric.fermas@gmail.com>2012-02-27 23:31:09 +0400
commit8e14827a821178e705b629e48acfdf8e6abe0e23 (patch)
tree6bdd5c2d9d7ed0598a9bc3d71e1774ef46c53f4b /LibGit2Sharp/BranchCollection.cs
parent35d14259b990651727ff9de2ec338315a790badd (diff)
Fix some issues pinpointed by Code Analysis
Diffstat (limited to 'LibGit2Sharp/BranchCollection.cs')
-rw-r--r--LibGit2Sharp/BranchCollection.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/BranchCollection.cs b/LibGit2Sharp/BranchCollection.cs
index 9061017d..a5caab97 100644
--- a/LibGit2Sharp/BranchCollection.cs
+++ b/LibGit2Sharp/BranchCollection.cs
@@ -116,7 +116,7 @@ namespace LibGit2Sharp
if (canonicalName == repo.Head.CanonicalName)
{
- throw new LibGit2Exception(string.Format("Branch '{0}' can not be deleted as it is the current HEAD.", canonicalName));
+ throw new LibGit2Exception(string.Format(CultureInfo.InvariantCulture, "Branch '{0}' can not be deleted as it is the current HEAD.", canonicalName));
}
//TODO: To be replaced by native libgit2 git_branch_delete() when available.