From 542cce1131a2496f742b6eb94a484389cbe86960 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sat, 23 Feb 2013 16:19:30 +0100 Subject: [PATCH] Dropped unused methods Signed-off-by: Sven Strickroth --- src/Git/Git.cpp | 15 --------------- src/Git/Git.h | 7 ------- 2 files changed, 22 deletions(-) diff --git a/src/Git/Git.cpp b/src/Git/Git.cpp index 3314a98ab..5738e90e0 100644 --- a/src/Git/Git.cpp +++ b/src/Git/Git.cpp @@ -782,12 +782,6 @@ int CGit::BuildOutputFormat(CString &format,bool IsFull) return 0; } -int CGit::GetLog(BYTE_VECTOR& logOut, const CString &hash, CTGitPath *path ,int count,int mask,CString *from,CString *to) -{ - CGitCall_ByteVector gitCall(CString(), &logOut, NULL); - return GetLog(&gitCall,hash,path,count,mask,from,to); -} - CString CGit::GetLogCmd( const CString &hash, CTGitPath *path, int count, int mask,CString *from,CString *to,bool paramonly, CFilterData *Filter) { @@ -919,15 +913,6 @@ CString CGit::GetLogCmd( const CString &hash, CTGitPath *path, int count, int ma return cmd; } -//int CGit::GetLog(CGitCall* pgitCall, const CString &hash, CTGitPath *path ,int count,int mask) -int CGit::GetLog(CGitCall* pgitCall, const CString &hash, CTGitPath *path, int count, int mask,CString *from,CString *to) -{ - pgitCall->SetCmd( GetLogCmd(hash,path,count,mask,from,to) ); - - return Run(pgitCall); -// return Run(cmd,&logOut); -} - #define BUFSIZE 512 void GetTempPath(CString &path) { diff --git a/src/Git/Git.h b/src/Git/Git.h index 67e9998d5..ab71560c9 100644 --- a/src/Git/Git.h +++ b/src/Git/Git.h @@ -276,13 +276,6 @@ public: CString FixBranchName_Mod(CString& branchName); CString FixBranchName(const CString& branchName); - //hash is empty means all. -1 means all - - int GetLog(CGitCall* pgitCall, const CString &hash, CTGitPath *path = NULL,int count=-1,int InfoMask=LOG_INFO_FULL_DIFF|LOG_INFO_STAT|LOG_INFO_FILESTATE|LOG_INFO_BOUNDARY|LOG_INFO_DETECT_COPYRENAME|LOG_INFO_SHOW_MERGEDFILE, - CString *from=NULL,CString *to=NULL); - int GetLog(BYTE_VECTOR& logOut,const CString &hash, CTGitPath *path = NULL,int count=-1,int InfoMask=LOG_INFO_FULL_DIFF|LOG_INFO_STAT|LOG_INFO_FILESTATE|LOG_INFO_BOUNDARY|LOG_INFO_DETECT_COPYRENAME|LOG_INFO_SHOW_MERGEDFILE, - CString *from=NULL,CString *to=NULL); - CString GetLogCmd(const CString &hash, CTGitPath *path = NULL,int count=-1,int InfoMask=LOG_INFO_FULL_DIFF|LOG_INFO_STAT|LOG_INFO_FILESTATE|LOG_INFO_BOUNDARY|LOG_INFO_DETECT_COPYRENAME|LOG_INFO_SHOW_MERGEDFILE, CString *from=NULL,CString *to=NULL, bool paramonly=false, CFilterData * filter =NULL); -- 2.11.4.GIT