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 f3130e7 + 6d660bc commit 13e0a9bCopy full SHA for 13e0a9b
GitTfsPlugin.cs
@@ -52,7 +52,7 @@ public bool Execute(GitUIBaseEventArgs gitUiCommands)
52
private static IEnumerable<string> GetTfsRemotes(IGitUICommands commands)
53
{
54
var result = commands.GitCommand("config --get-regexp tfs-remote");
55
- var matches = Regex.Matches(result, @"tfs-remote\.([^\.]+)");
+ var matches = Regex.Matches(result, @"tfs-remote\.(.+)\.repository ");
56
return matches.Count > 0
57
? matches.Cast<Match>().Select(g => g.Groups[1].Value).Distinct()
58
: Enumerable.Empty<string>();
0 commit comments