From c2de57d0ee072c55ec3743671dff216f3012c93c Mon Sep 17 00:00:00 2001 From: J Wyman Date: Mon, 15 Jun 2015 15:49:28 -0700 Subject: [PATCH] Fixes a trivial bug in Idenitity.cs found by code scan --- LibGit2Sharp/Identity.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibGit2Sharp/Identity.cs b/LibGit2Sharp/Identity.cs index 207e24267..38c1824d7 100644 --- a/LibGit2Sharp/Identity.cs +++ b/LibGit2Sharp/Identity.cs @@ -20,7 +20,7 @@ public Identity(string name, string email) Ensure.ArgumentNotNullOrEmptyString(name, "name"); Ensure.ArgumentNotNullOrEmptyString(email, "email"); Ensure.ArgumentDoesNotContainZeroByte(name, "name"); - Ensure.ArgumentDoesNotContainZeroByte(name, "email"); + Ensure.ArgumentDoesNotContainZeroByte(email, "email"); _name = name; _email = email;