Пример #1
0
        private void FormPushLoad(object sender, EventArgs e)
        {
            _NO_TRANSLATE_Remotes.Select();

            Text = string.Concat(_pushCaption.Text, " (", Module.WorkingDir, ")");

            var gitHoster = RepoHosts.TryGetGitHosterForModule(Module);

            _createPullRequestCB.Enabled = gitHoster != null;
        }
Пример #2
0
        private void FormPushLoad(object sender, EventArgs e)
        {
            RestorePosition("push");

            _NO_TRANSLATE_Remotes.Select();

            Text = string.Concat(_pushCaption.Text, " (", Settings.WorkingDir, ")");

            var gitHoster = RepoHosts.TryGetGitHosterForCurrentWorkingDir();

            _createPullRequestCB.Enabled = gitHoster != null;
        }
Пример #3
0
        private void FormPushLoad(object sender, EventArgs e)
        {
            RestorePosition("push");

            Remotes.Select();

            Text = string.Concat(_pushCaption.Text, " (", Settings.WorkingDir, ")");

            PushAllTags.Checked = Settings.PushAllTags;

            var gitHoster = RepoHosts.TryGetGitHosterForCurrentWorkingDir();

            _createPullRequestCB.Visible = gitHoster != null;
        }
Пример #4
0
        private void FormPushLoad(object sender, EventArgs e)
        {
            RestorePosition("push");

            Remotes.Select();
            Remotes.Text = GitCommandHelpers.GetSetting(string.Format("branch.{0}.remote", _currentBranch));
            RemotesUpdated(null, null);

            Text = string.Concat(_pushCaption.Text, " (", Settings.WorkingDir, ")");

            PushAllTags.Checked = Settings.PushAllTags;

            var gitHoster = RepoHosts.TryGetGitHosterForCurrentWorkingDir();

            _createPullRequestCB.Visible = gitHoster != null;
        }