OSDN Git Service

diff command basic finished
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Commands / Command.cpp
index 72b9e7c..8ae4b06 100644 (file)
@@ -25,6 +25,8 @@
 \r
 #include "CreateRepositoryCommand.h"\r
 #include "CloneCommand.h"\r
+#include "PrevDiffCommand.h"\r
+#include "DiffCommand.h"\r
 \r
 #if 0\r
 #include "AddCommand.h"\r
@@ -39,7 +41,7 @@
 #include "CreatePatchCommand.h"\r
 \r
 #include "DelUnversionedCommand.h"\r
-#include "DiffCommand.h"\r
+\r
 #include "DropCopyAddCommand.h"\r
 #include "DropCopyCommand.h"\r
 #include "DropExportCommand.h"\r
@@ -54,7 +56,7 @@
 #include "MergeAllCommand.h"\r
 #include "PasteCopyCommand.h"\r
 #include "PasteMoveCommand.h"\r
-#include "PrevDiffCommand.h"\r
+\r
 #include "PropertiesCommand.h"\r
 #include "RebuildIconCacheCommand.h"\r
 #include "RelocateCommand.h"\r
@@ -219,6 +221,10 @@ Command * CommandServer::GetCommand(const CString& sCmd)
                return new CreateRepositoryCommand;\r
        case cmdClone:\r
                return new CloneCommand;\r
+       case cmdPrevDiff:\r
+               return new PrevDiffCommand;\r
+       case cmdDiff:\r
+               return new DiffCommand;\r
 #if 0\r
        case cmdAdd:\r
                return new AddCommand;\r
@@ -241,8 +247,7 @@ Command * CommandServer::GetCommand(const CString& sCmd)
                return new CreatePatchCommand;\r
        case cmdDelUnversioned:\r
                return new DelUnversionedCommand;\r
-       case cmdDiff:\r
-               return new DiffCommand;\r
+\r
        case cmdDropCopy:\r
                return new DropCopyCommand;\r
        case cmdDropCopyAdd:\r
@@ -313,6 +318,7 @@ Command * CommandServer::GetCommand(const CString& sCmd)
                return new UrlDiffCommand;\r
 #endif\r
        default:\r
+               CMessageBox::Show(hWndExplorer, _T("Have not implemented"), _T("TortoiseGit"), MB_ICONERROR);\r
                return new AboutCommand;\r
        }\r
 }\r