DEFINE_GUID(CATID_BugTraqProvider, \r
0x3494fa92, 0xb139, 0x4730, 0x95, 0x91, 0x1, 0x13, 0x5d, 0x5e, 0x78, 0x31);\r
\r
-#define BUGTRAQ_ASSOCIATIONS_REGPATH _T("Software\\TortoiseSVN\\BugTraq Associations")\r
+#define BUGTRAQ_ASSOCIATIONS_REGPATH _T("Software\\TortoiseGit\\BugTraq Associations")\r
\r
CBugTraqAssociations::~CBugTraqAssociations()\r
{\r
m_inner.push_back(new CBugTraqAssociation(assoc));\r
}\r
\r
-bool CBugTraqAssociations::FindProvider(const CTSVNPathList &pathList, CBugTraqAssociation *assoc) const\r
+bool CBugTraqAssociations::FindProvider(const CTGitPathList &pathList, CBugTraqAssociation *assoc) const\r
{\r
return FindProviderForPathList(pathList, assoc);\r
}\r
\r
-bool CBugTraqAssociations::FindProviderForPathList(const CTSVNPathList &pathList, CBugTraqAssociation *assoc) const\r
+bool CBugTraqAssociations::FindProviderForPathList(const CTGitPathList &pathList, CBugTraqAssociation *assoc) const\r
{\r
for (int i = 0; i < pathList.GetCount(); ++i)\r
{\r
- CTSVNPath path = pathList[i];\r
+ CTGitPath path = pathList[i];\r
if (FindProviderForPath(path, assoc))\r
return true;\r
}\r
return false;\r
}\r
\r
-bool CBugTraqAssociations::FindProviderForPath(CTSVNPath path, CBugTraqAssociation *assoc) const\r
+bool CBugTraqAssociations::FindProviderForPath(CTGitPath path, CBugTraqAssociation *assoc) const\r
{\r
do\r
{\r
RegCloseKey(hk);\r
}\r
\r
-void CBugTraqAssociations::RemoveByPath(const CTSVNPath &path)\r
+void CBugTraqAssociations::RemoveByPath(const CTGitPath &path)\r
{\r
inner_t::iterator it = std::find_if(m_inner.begin(), m_inner.end(), FindByPathPred(path));\r
if (it != m_inner.end())\r