private void btCheckoutBranch_Click(object sender, EventArgs e) { string[] revisions = { tbLocal.Text, tbRemote.Text }; var submoduleCommands = new GitUICommands(Module.GetSubmoduleFullPath(_filename)); if (!submoduleCommands.StartCheckoutBranch(this, revisions)) return; StageSubmodule(); DialogResult = DialogResult.OK; Close(); }
private void btCheckoutBranch_Click(object sender, EventArgs e) { string[] revisions = { tbLocal.Text, tbRemote.Text }; var submoduleCommands = new GitUICommands(Module.GetSubmoduleFullPath(_filename)); if (!submoduleCommands.StartCheckoutBranch(this, revisions)) { return; } StageSubmodule(); DialogResult = DialogResult.OK; Close(); }