File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ public override IRepository InitVBAProject(string directory)
193
193
//The default behavior of LibGit2Sharp.Repo.Commit is to throw an exception if no signature is found,
194
194
// but BuildSignature() does not throw if a signature is not found, it returns "unknown" instead.
195
195
// so we pass a signature that won't throw along to the commit.
196
- repo . Commit ( "Initial Commit" , GetSignature ( repo ) , GetSignature ( repo ) ) ;
196
+ repo . Commit ( "Initial Commit" , author : GetSignature ( repo ) , committer : GetSignature ( repo ) ) ;
197
197
}
198
198
catch ( LibGit2SharpException ex )
199
199
{
@@ -291,7 +291,7 @@ public override void Commit(string message)
291
291
//The default behavior of LibGit2Sharp.Repo.Commit is to throw an exception if no signature is found,
292
292
// but BuildSignature() does not throw if a signature is not found, it returns "unknown" instead.
293
293
// so we pass a signature that won't throw along to the commit.
294
- _repo . Commit ( message , GetSignature ( ) , GetSignature ( ) ) ;
294
+ _repo . Commit ( message , author : GetSignature ( ) , committer : GetSignature ( ) ) ;
295
295
}
296
296
catch ( LibGit2SharpException ex )
297
297
{
You can’t perform that action at this time.
0 commit comments