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>2015-06-16 08:42:27 +0300
committernulltoken <emeric.fermas@gmail.com>2015-06-16 08:42:27 +0300
commit325ddfcd59e25ee5f93b24da5253da5c1b813dca (patch)
tree80706c62ee319637ee2390104cc8e21134632370
parent49346f8ff5f02296f98d7103b2c0c4555b30ead3 (diff)
parentc2de57d0ee072c55ec3743671dff216f3012c93c (diff)
Merge pull request #1096 from whoisj/fix-identity-ensure-bug
Fixes a trivial bug in Idenitity.cs found by code scan
-rw-r--r--LibGit2Sharp/Identity.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp/Identity.cs b/LibGit2Sharp/Identity.cs
index 207e2426..38c1824d 100644
--- a/LibGit2Sharp/Identity.cs
+++ b/LibGit2Sharp/Identity.cs
@@ -20,7 +20,7 @@ namespace LibGit2Sharp
Ensure.ArgumentNotNullOrEmptyString(name, "name");
Ensure.ArgumentNotNullOrEmptyString(email, "email");
Ensure.ArgumentDoesNotContainZeroByte(name, "name");
- Ensure.ArgumentDoesNotContainZeroByte(name, "email");
+ Ensure.ArgumentDoesNotContainZeroByte(email, "email");
_name = name;
_email = email;