OSDN Git Service

Fix Colin Law report clone crash at no git directory
[tortoisegit/TortoiseGitJp.git] / src / Git / GitAdminDir.h
index 8620acb..bc1e02c 100644 (file)
@@ -27,7 +27,9 @@ public:
        /// Returns true if the path (file or folder) has an admin directory \r
        /// associated, i.e. if the path is in a working copy.\r
        bool HasAdminDir(const CString& path) const;\r
-       bool HasAdminDir(const CString& path, bool bDir) const;\r
+       bool HasAdminDir(const CString& path,CString * ProjectTopDir) const;\r
+       bool HasAdminDir(const CString& path, bool bDir,CString * ProjectTopDir=NULL) const;\r
+       CString GetGitTopDir(const CString& path);\r
        \r
        /// Returns true if the admin dir name is set to "_svn".\r
        bool IsVSNETHackActive() const {return m_bVSNETHack;}\r