OSDN Git Service

BrowseRefs: Save / Restore window size
[tortoisegit/TortoiseGitJp.git] / src / TortoiseShell / ShellCache.h
index 761202b..bfeb944 100644 (file)
@@ -43,7 +43,8 @@ public:
        {\r
                none,\r
                exe,\r
-               dll\r
+               dll,\r
+               dllFull,// same as dll except it uses commandline git tool with all status modes supported\r
        };\r
        ShellCache()\r
        {\r
@@ -83,8 +84,8 @@ public:
                getlocktopticker = cachetypeticker;\r
                excludedasnormalticker = cachetypeticker;\r
                excontextticker = cachetypeticker;\r
-               menulayoutlow = CRegStdWORD(_T("Software\\TortoiseGit\\ContextMenuEntries"),              MENUCREATEREPOS|MENUCLONE|MENUUPDATE|MENUCOMMIT);\r
-               menulayouthigh = CRegStdWORD(_T("Software\\TortoiseGit\\ContextMenuEntrieshigh"), (MENUCREATEREPOS|MENUCLONE|MENUUPDATE|MENUCOMMIT)>>32);\r
+               menulayoutlow = CRegStdWORD(_T("Software\\TortoiseGit\\ContextMenuEntries"),              MENUCREATEREPOS|MENUCLONE|MENUCOMMIT);\r
+               menulayouthigh = CRegStdWORD(_T("Software\\TortoiseGit\\ContextMenuEntrieshigh"), (MENUCREATEREPOS|MENUCLONE|MENUCOMMIT)>>32);\r
                menumasklow_lm = CRegStdWORD(_T("Software\\TortoiseGit\\ContextMenuEntriesMaskLow"), 0, FALSE, HKEY_LOCAL_MACHINE);\r
                menumaskhigh_lm = CRegStdWORD(_T("Software\\TortoiseGit\\ContextMenuEntriesMaskHigh"), 0, FALSE, HKEY_LOCAL_MACHINE);\r
                menumasklow_cu = CRegStdWORD(_T("Software\\TortoiseGit\\ContextMenuEntriesMaskLow"), 0);\r
@@ -152,11 +153,7 @@ public:
                        cachetypeticker = GetTickCount();\r
                        cachetype.read();\r
                }\r
-               //return CacheType(DWORD((cachetype)));\r
-               /*TEMP: until TGitCache done*/\r
-               if(CGit::IsVista())\r
-                       return none;\r
-               return CacheType(DWORD((cachetype))) == exe ? dll : CacheType(DWORD((cachetype)));\r
+               return CacheType(DWORD((cachetype)));\r
        }\r
        DWORD BlockStatus()\r
        {\r