When Git clone, password input box can prompt. But have not tested authorize key mode. Package and download information still can't captured.
Signed-off-by: Frank Li <lznuaa@gmail.com>
}\r
free(oldpath);\r
\r
+ //setup ssh client\r
+ CRegString sshclient=CRegString(_T("Software\\TortoiseGit\\SSH"));\r
+ CString ssh=sshclient;\r
+// ssh.Format(_T("\"%s\""),(CString)sshclient);\r
+\r
+ if(!ssh.IsEmpty())\r
+ {\r
+ _tputenv_s(_T("GIT_SSH"),ssh);\r
+ }\r
+\r
CString cmd,out;\r
cmd=_T("git.exe --version");\r
if(g_Git.Run(cmd,&out,CP_UTF8))\r