OSDN Git Service

Align key "puttykeyfile" with gitextension
authorFrank Li <lznuaa@gmail.com>
Thu, 2 Apr 2009 09:19:50 +0000 (17:19 +0800)
committerFrank Li <lznuaa@gmail.com>
Thu, 2 Apr 2009 09:19:50 +0000 (17:19 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/Settings/SettingGitRemote.cpp

index 22b47c4..34c1c45 100644 (file)
@@ -150,7 +150,7 @@ void CSettingGitRemote::OnLbnSelchangeListRemote()
        m_strUrl = m_strUrl.Tokenize(_T("\n"),start);\r
 \r
 \r
        m_strUrl = m_strUrl.Tokenize(_T("\n"),start);\r
 \r
 \r
-       cmd.Format(_T("git.exe config remote.%s.puttykey"),remote);\r
+       cmd.Format(_T("git.exe config remote.%s.puttykeyfile"),remote);\r
        this->m_strPuttyKeyfile.Empty();\r
        if( g_Git.Run(cmd,&m_strPuttyKeyfile,CP_ACP) )\r
        {\r
        this->m_strPuttyKeyfile.Empty();\r
        if( g_Git.Run(cmd,&m_strPuttyKeyfile,CP_ACP) )\r
        {\r
@@ -245,7 +245,7 @@ BOOL CSettingGitRemote::OnApply()
 \r
        if(m_ChangedMask & REMOTE_PUTTYKEY)\r
        {\r
 \r
        if(m_ChangedMask & REMOTE_PUTTYKEY)\r
        {\r
-               Save(_T("puttykey"),this->m_strPuttyKeyfile);\r
+               Save(_T("puttykeyfile"),this->m_strPuttyKeyfile);\r
        }\r
 \r
        this->GetDlgItem(IDC_EDIT_REMOTE)->EnableWindow(FALSE);\r
        }\r
 \r
        this->GetDlgItem(IDC_EDIT_REMOTE)->EnableWindow(FALSE);\r