OSDN Git Service

Add conflict handle
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / GitLogListBase.cpp
index 4997bd7..b60db80 100644 (file)
@@ -1043,6 +1043,9 @@ void CGitLogListBase::OnContextMenu(CWnd* pWnd, CPoint point)
                        //if (m_hasWC)\r
                        //      popup.AppendMenuIcon(ID_MERGEREV, IDS_LOG_POPUP_MERGEREV, IDI_MERGE);\r
                        \r
+                       CString str;\r
+                       str.Format(_T("Reset %s to this"),g_Git.GetCurrentBranch());\r
+                       popup.AppendMenuIcon(ID_RESET,str,IDI_REVERT);\r
                        popup.AppendMenuIcon(ID_SWITCHTOREV, _T("Switch/Checkout to this") , IDI_SWITCH);\r
                        popup.AppendMenuIcon(ID_CREATE_BRANCH, _T("Create Branch at this version") , IDI_COPY);\r
                        popup.AppendMenuIcon(ID_CREATE_TAG, _T("Create Tag at this version"), IDI_COPY);\r