TfsWorkspace now passes the author parameter to Checkin(...)

This commit is contained in:
Jonas Boesch
2013-03-26 14:18:00 +01:00
parent 3872763f27
commit 06fd1648e3
+1 -1
View File
@@ -104,7 +104,7 @@ namespace Sep.Git.Tfs.Core
}
var policyOverride = GetPolicyOverrides(options, checkinProblems.Result);
var newChangeset = _workspace.Checkin(pendingChanges, options.CheckinComment, checkinNote, workItemInfos, policyOverride, options.OverrideGatedCheckIn);
var newChangeset = _workspace.Checkin(pendingChanges, options.CheckinComment, options.AuthorTfsUserId, checkinNote, workItemInfos, policyOverride, options.OverrideGatedCheckIn);
if (newChangeset == 0)
{
throw new GitTfsException("Checkin failed!");