Skip to content
Permalink
Browse files

Parameter names given on the .Commit() commands

  • Loading branch information...
Nelson Vides
Nelson Vides committed Nov 25, 2017
1 parent 4e5cd9d commit 4b9f3fcbccef8b27aef995fd187e251adb72b71c
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rubberduck.SourceControl/GitProvider.cs
@@ -193,7 +193,7 @@ public override IRepository InitVBAProject(string directory)
//The default behavior of LibGit2Sharp.Repo.Commit is to throw an exception if no signature is found,
// but BuildSignature() does not throw if a signature is not found, it returns "unknown" instead.
// so we pass a signature that won't throw along to the commit.
repo.Commit("Initial Commit", GetSignature(repo), GetSignature(repo));
repo.Commit("Initial Commit", author: GetSignature(repo), committer: GetSignature(repo));
}
catch(LibGit2SharpException ex)
{
@@ -291,7 +291,7 @@ public override void Commit(string message)
//The default behavior of LibGit2Sharp.Repo.Commit is to throw an exception if no signature is found,
// but BuildSignature() does not throw if a signature is not found, it returns "unknown" instead.
// so we pass a signature that won't throw along to the commit.
_repo.Commit(message, GetSignature(), GetSignature());
_repo.Commit(message, author: GetSignature(), committer: GetSignature());
}
catch (LibGit2SharpException ex)
{

0 comments on commit 4b9f3fc

Please sign in to comment.
You can’t perform that action at this time.