OSDN Git Service

Fixed issue #109: clone on bare local repository fails
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / AppUtils.h
index 5d31f72..41f79b2 100644 (file)
@@ -156,7 +156,7 @@ public:
        \r
        static bool Export(CString *BashHash=NULL);\r
        static bool CreateBranchTag(bool IsTag=TRUE,CString *CommitHash=NULL);\r
-       static bool Switch(CString *CommitHash);\r
+       static bool Switch(CString *CommitHash, CString initialRefName = CString());\r
 \r
 //     static bool IgnoreFile(CTGitPath &file, bool IsMask);\r
        static bool IgnoreFile(CTGitPathList &filelist,bool IsMask);\r
@@ -182,7 +182,30 @@ public:
         */\r
        static CString ToRelativeTimeString(CTime time);\r
 \r
-       \r
+       static CString GetMergeTempFile(CString str,CTGitPath &merge);\r
+       static int         StashApply(CString ref);\r
+\r
+    static bool IsSSHPutty();\r
+\r
+    static bool LaunchRemoteSetting();\r
+\r
+       static bool LaunchPAgent(CString *keyfile=NULL,CString * pRemote=NULL);\r
+\r
+       static CString GetClipboardLink();\r
+       static CString ChooseRepository(CString *path);\r
+\r
+       static bool SendPatchMail(CTGitPathList &pathlist,bool autoclose=false);\r
+\r
+       static int  SaveCommitUnicodeFile(CString &filename, CString &mesage);\r
+\r
+       static int  GetLogOutputEncode(CGit *pGit=&g_Git);\r
+\r
+       static bool Push();\r
+\r
+       static bool CreateMultipleDirectory(CString &dir);\r
+\r
+       static void RemoveTrailSlash(CString &path);\r
+\r
 private:\r
        static CString PickDiffTool(const CTGitPath& file1, const CTGitPath& file2);\r
        static bool GetMimeType(const CTGitPath& file, CString& mimetype);\r