eCmd_CreateBranch,\r
eCmd_CreateTag,\r
eCmd_DeleteBranch,\r
+ eCmd_DeleteRemoteBranch,\r
eCmd_DeleteTag,\r
- eCmd_ShowReflog\r
+ eCmd_ShowReflog,\r
+ eCmd_Diff,\r
+ eCmd_Fetch,\r
+ eCmd_Switch\r
};\r
\r
enum eCol\r
afx_msg void OnBnClickedOk();\r
virtual BOOL OnInitDialog();\r
\r
- CString GetSelectedRef(bool onlyIfLeaf);\r
+ CString GetSelectedRef(bool onlyIfLeaf, bool pickFirstSelIfMultiSel = false);\r
\r
void Refresh(CString selectRef = CString());\r
\r
\r
bool SelectRef(CString refName, bool bExactMatch);\r
\r
- bool ConfirmDeleteRef(CString completeRefName);\r
+ bool ConfirmDeleteRef(VectorPShadowTree& leafs);\r
+ bool DoDeleteRefs(VectorPShadowTree& leafs, bool bForce);\r
bool DoDeleteRef(CString completeRefName, bool bForce);\r
\r
CString GetFullRefName(CString partialRefName);\r
void OnContextMenu_ListRefLeafs(CPoint point);\r
void OnContextMenu_RefTreeCtrl(CPoint point);\r
\r
+ bool AreAllFrom(VectorPShadowTree& leafs, const wchar_t* from);\r
void ShowContextMenu(CPoint point, HTREEITEM hTreePos, VectorPShadowTree& selectedLeafs);\r
virtual BOOL PreTranslateMessage(MSG* pMsg);\r
afx_msg void OnLvnColumnclickListRefLeafs(NMHDR *pNMHDR, LRESULT *pResult);\r