OSDN Git Service

Add show one file log at dialog box.
[tortoisegit/TortoiseGitJp.git] / src / Git / Git.h
index 96a0186..b9da969 100644 (file)
@@ -51,7 +51,10 @@ public:
                LOG_INFO_PATCH=0x4,\r
                LOG_INFO_FULLHISTORY=0x8,\r
                LOG_INFO_BOUNDARY=0x10,\r
-        LOG_INFO_ALL=0x20\r
+        LOG_INFO_ALL_BRANCH=0x20,\r
+               LOG_INFO_ONLY_HASH=0x40,\r
+               LOG_INFO_DETECT_RENAME=0x80,\r
+               LOG_INFO_DETECT_COPYRENAME=0x100\r
        }LOG_INFO_MASK;\r
 \r
        int GetRemoteList(STRING_VECTOR &list);\r
@@ -60,12 +63,12 @@ public:
        int GetMapHashToFriendName(MAP_HASH_NAME &map);\r
        \r
        //hash is empty means all. -1 means all\r
-       int GetLog(CString& logOut,CString &hash, CTGitPath *path = NULL,int count=-1,int InfoMask=LOG_INFO_STAT|LOG_INFO_FILESTATE|LOG_INFO_BOUNDARY);\r
+       int GetLog(CString& logOut,CString &hash, CTGitPath *path = NULL,int count=-1,int InfoMask=LOG_INFO_STAT|LOG_INFO_FILESTATE|LOG_INFO_BOUNDARY|LOG_INFO_DETECT_COPYRENAME);\r
 \r
        git_revnum_t GetHash(CString &friendname);\r
 \r
        int BuildOutputFormat(CString &format,bool IsFull=TRUE);\r
-       int GetShortLog(CString &log,CTGitPath * path=NULL, int count =-1);\r
+       //int GetShortLog(CString &log,CTGitPath * path=NULL, int count =-1);\r
        static void StringAppend(CString *str,char *p);\r
 \r
        BOOL IsInitRepos();\r