コード例 #1
0
        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();
        }
コード例 #2
0
        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();
        }
コード例 #3
0
 public void ContinueMergeCmd()
 {
     Assert.AreEqual("merge --continue", GitCommandHelpers.ContinueMergeCmd().Arguments);
 }