Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit ba16704

Browse files
committed
Merge pull request #245 from github/repo-highlight
More stable to compare local paths in uppercase.
2 parents e4139a1 + 253a3f9 commit ba16704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.VisualStudio/UI/Views/GitHubConnectContent.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public object Convert(object[] values, Type targetType, object parameter, Cultur
101101

102102
var item = values[0] as ISimpleRepositoryModel;
103103
var context = values[1] as IGitAwareItem;
104-
return context?.ActiveRepoUri == item?.CloneUrl && context?.ActiveRepo?.LocalPath == item?.LocalPath;
104+
return context?.ActiveRepoUri == item?.CloneUrl && String.Equals(context?.ActiveRepo?.LocalPath, item?.LocalPath, StringComparison.OrdinalIgnoreCase);
105105
}
106106

107107
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)

0 commit comments

Comments
 (0)