From 73753cac21bba7ad066e5cd4f684fec6f00f41d9 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sat, 8 Aug 2015 19:40:03 +0200 Subject: [PATCH] Drop unused method Signed-off-by: Sven Strickroth --- src/Git/GitStatus.cpp | 7 ------- src/Git/GitStatus.h | 11 ----------- 2 files changed, 18 deletions(-) diff --git a/src/Git/GitStatus.cpp b/src/Git/GitStatus.cpp index c82f341a3..6730c5681 100644 --- a/src/Git/GitStatus.cpp +++ b/src/Git/GitStatus.cpp @@ -34,7 +34,6 @@ CGitIgnoreList g_IgnoreList; GitStatus::GitStatus() : status(NULL) - , m_allstatus(git_wc_status_none) { m_status.assumeValid = m_status.skipWorktree = false; m_status.prop_status = m_status.text_status = git_wc_status_none; @@ -91,12 +90,6 @@ git_wc_status_kind GitStatus::GetAllStatus(const CTGitPath& path, git_depth_t de return statuskind; } - -// static method -git_wc_status_kind GitStatus::GetAllStatusRecursive(const CTGitPath& path) -{ - return GetAllStatus(path, git_depth_infinity); -} #endif // static method diff --git a/src/Git/GitStatus.h b/src/Git/GitStatus.h index 0339c3d3c..3ebc52332 100644 --- a/src/Git/GitStatus.h +++ b/src/Git/GitStatus.h @@ -126,15 +126,6 @@ public: static git_wc_status_kind GetAllStatus(const CTGitPath& path, git_depth_t depth = git_depth_empty, bool * assumeValid = NULL, bool * skipWorktree = NULL); /** - * Reads the git status of the working copy entry and all its - * subitems. The resulting status is determined by using priorities for - * each status. The status with the highest priority is then returned. - * If the status of the text and property part are different then - * the more important status is returned. - */ - static git_wc_status_kind GetAllStatusRecursive(const CTGitPath& path); - - /** * Returns the status which is more "important" of the two statuses specified. * This is used for the "recursive" status functions on folders - i.e. which status * should be returned for a folder which has several files with different statuses @@ -168,8 +159,6 @@ public: git_wc_status2_t * status; ///< the status result of GetStatus() private: - git_wc_status_kind m_allstatus; ///< used by GetAllStatus and GetAllStatusRecursive - git_wc_status2_t m_status; // used for GetStatus /** -- 2.11.4.GIT