Skip to content

Commit 13e0a9b

Browse files
committed
Merge pull request #14 from yads/master
Fix for issue #13
2 parents f3130e7 + 6d660bc commit 13e0a9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GitTfsPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public bool Execute(GitUIBaseEventArgs gitUiCommands)
5252
private static IEnumerable<string> GetTfsRemotes(IGitUICommands commands)
5353
{
5454
var result = commands.GitCommand("config --get-regexp tfs-remote");
55-
var matches = Regex.Matches(result, @"tfs-remote\.([^\.]+)");
55+
var matches = Regex.Matches(result, @"tfs-remote\.(.+)\.repository ");
5656
return matches.Count > 0
5757
? matches.Cast<Match>().Select(g => g.Groups[1].Value).Distinct()
5858
: Enumerable.Empty<string>();

0 commit comments

Comments
 (0)