зеркало из https://github.com/github/VFSForGit.git
ProductUpgrader: use OrdinalIgnoreCase in exluded HashSet
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
This commit is contained in:
Родитель
2b23a71288
Коммит
5119adb399
|
@ -183,7 +183,7 @@ namespace GVFS.Common
|
|||
// directory causes a cycle(at some point we start copying C:\Program Files\GVFS\ProgramData\GVFS.Upgrade
|
||||
// and its contents into C:\Program Files\GVFS\ProgramData\GVFS.Upgrade\Tools). The exclusion below is
|
||||
// added to avoid this loop.
|
||||
HashSet<string> directoriesToExclude = new HashSet<string>();
|
||||
HashSet<string> directoriesToExclude = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
|
||||
|
||||
string secureDataRoot = GVFSPlatform.Instance.GetSecureDataRootForGVFS();
|
||||
directoriesToExclude.Add(secureDataRoot);
|
||||
|
|
Загрузка…
Ссылка в новой задаче