Signed-off-by: Frank Li <lznuaa@gmail.com>
break;\r
case ID_CREATE_BRANCH:\r
CAppUtils::CreateBranchTag(FALSE,&pSelLogEntry->m_CommitHash);\r
- m_HashMap.clear();\r
- g_Git.GetMapHashToFriendName(m_HashMap);\r
+ ReloadHashMap();\r
Invalidate(); \r
break;\r
case ID_CREATE_TAG:\r
CAppUtils::CreateBranchTag(TRUE,&pSelLogEntry->m_CommitHash);\r
- m_HashMap.clear();\r
- g_Git.GetMapHashToFriendName(m_HashMap);\r
+ ReloadHashMap();\r
Invalidate();\r
break;\r
case ID_SWITCHTOREV:\r
CAppUtils::Switch(&pSelLogEntry->m_CommitHash);\r
- m_HashMap.clear();\r
- g_Git.GetMapHashToFriendName(m_HashMap);\r
+ ReloadHashMap();\r
Invalidate();\r
break;\r
case ID_RESET:\r
CAppUtils::GitReset(&pSelLogEntry->m_CommitHash);\r
- m_HashMap.clear();\r
- g_Git.GetMapHashToFriendName(m_HashMap);\r
+ ReloadHashMap();\r
Invalidate();\r
break;\r
default:\r