Skip to content

Commit

Permalink
Merge pull request #3288 from Ginger-Automation/BugFix/35148-Unexpect…
Browse files Browse the repository at this point in the history
…edPopupWhenNoConflict

BugFix - 35148 - Unexpected popup when no conflict
  • Loading branch information
Maheshkale447 authored Oct 12, 2023
2 parents bfb8b39 + e0215e1 commit 72b4295
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Ginger/Ginger/SourceControl/CheckInPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,11 @@ private static bool CommitChanges(SourceControlBase SourceControl, ICollection<s
return true;
}
}
else
{
//no conflicts to handle
conflictHandled = true;
}
return false;
}
return result;
Expand Down Expand Up @@ -482,7 +487,7 @@ private void AfterCommitProcess(bool CommitSuccess, bool conflictHandled)
CommentsTextBox.Text = string.Empty;
mCheckInWasDone = true;
}
else if (!CommitSuccess)
else if (!CommitSuccess && !conflictHandled)
{
Reporter.ToUser(eUserMsgKey.SourceControlChkInConflictHandledFailed);
CloseWindow();
Expand Down

0 comments on commit 72b4295

Please sign in to comment.