We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d458b99 + ea026f0 commit e422cf8Copy full SHA for e422cf8
GitTfsPlugin.cs
@@ -13,20 +13,20 @@ public override bool Execute(GitUIBaseEventArgs gitUiCommands)
13
{
14
if (string.IsNullOrEmpty(gitUiCommands.GitModule.WorkingDir))
15
16
- return true;
+ return false;
17
}
18
19
var remotes = GetTfsRemotes(gitUiCommands.GitUICommands);
20
21
if (remotes.Any())
22
23
new GitTfsDialog(gitUiCommands.GitUICommands, PluginSettings, remotes).ShowDialog();
24
- return false;
+ return true;
25
26
27
MessageBox.Show("The active repository has no TFS remotes.", "git-tfs Error",
28
MessageBoxButtons.OK, MessageBoxIcon.Error);
29
30
31
32
private static IEnumerable<string> GetTfsRemotes(IGitUICommands commands)
0 commit comments