#include "GitConfig.h"\r
#include "Colors.h"\r
#include "XPTheme.h"\r
+#include "CommonResource.h"\r
\r
#define SVN_WC_ENTRY_WORKING_SIZE_UNKNOWN (-1)\r
\r
IDSVNLC_REVERTTOREV ,\r
IDSVNLC_VIEWREV ,\r
IDSVNLC_FINDENTRY ,\r
+ IDSVNLC_COMPARETWO ,\r
+ IDSVNLC_GNUDIFF2 ,\r
// the IDSVNLC_MOVETOCS *must* be the last index, because it contains a dynamic submenu where \r
// the submenu items get command ID's sequent to this number\r
IDSVNLC_MOVETOCS ,\r
*/\r
static const UINT SVNSLNM_CHECKCHANGED;\r
\r
+ static const UINT SVNSLNM_ITEMCHANGED;\r
+\r
CGitStatusListCtrl(void);\r
~CGitStatusListCtrl(void);\r
\r
+ CString m_Rev1;\r
+ CString m_Rev2;\r
+\r
/**\r
* \ingroup TortoiseProc\r
* Helper class for CGitStatusListCtrl which represents\r
bool operator() ( const CTGitPath* entry1\r
, const CTGitPath* entry2) const;\r
\r
+ static int A2L(const CString &str)\r
+ {\r
+ if(str==_T("-"))\r
+ return -1;\r
+ else\r
+ return _ttol(str);\r
+ }\r
+\r
private:\r
\r
ColumnManager* columnManager;\r
\r
CString m_sUUID; ///< the UUID of the associated repository\r
\r
+ BOOL m_bIsRevertTheirMy; ///< at rebase case, Their and My version is revert. \r
+\r
DECLARE_MESSAGE_MAP()\r
\r
private:\r
bool BuildStatistics(); ///< build the statistics and correct the case of files/folders\r
void StartDiff(int fileindex); ///< start the external diff program\r
void StartDiffWC(int fileindex); ///< start the external diff program\r
+ void StartDiffTwo(int fileindex);\r
\r
enum\r
{\r