private void ContinueButton_Click(object sender, EventArgs e) { if (Form is null) { return; } switch (_action) { case GitAction.Rebase: FormProcess.ShowDialog(Form, GitCommandHelpers.ContinueRebaseCmd()); break; case GitAction.Merge: FormProcess.ShowDialog(Form, GitCommandHelpers.ContinueMergeCmd()); break; case GitAction.Patch: FormProcess.ShowDialog(Form, GitCommandHelpers.ResolvedCmd()); break; default: return; } Form.UICommands.RepoChangedNotifier.Notify(); }
private void ContinueButton_Click(object sender, EventArgs e) { if (Form is null) { return; } switch (_action) { case GitAction.Rebase: FormProcess.ShowDialog(Form, process: null, arguments: GitCommandHelpers.ContinueRebaseCmd(), Module.WorkingDir, input: null, useDialogSettings: true); break; case GitAction.Merge: FormProcess.ShowDialog(Form, process: null, arguments: GitCommandHelpers.ContinueMergeCmd(), Module.WorkingDir, input: null, useDialogSettings: true); break; case GitAction.Patch: FormProcess.ShowDialog(Form, process: null, arguments: GitCommandHelpers.ResolvedCmd(), Module.WorkingDir, input: null, useDialogSettings: true); break; default: return; } Form.UICommands.RepoChangedNotifier.Notify(); }
public void ContinueMergeCmd() { Assert.AreEqual("merge --continue", GitCommandHelpers.ContinueMergeCmd().Arguments); }