X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=src%2FTortoiseProc%2FCommitDlg.cpp;h=a7ca9fcc5d67233b0f6ff716217c5b21a114992e;hb=35acef641ecef0f871b13dac01709259ea198212;hp=8c7386614087a826718a0ab616682532f0cab903;hpb=68d3c47ddd3203c6e0ef68ac0357925b7c604bc6;p=tortoisegit%2FTortoiseGitJp.git diff --git a/src/TortoiseProc/CommitDlg.cpp b/src/TortoiseProc/CommitDlg.cpp index 8c73866..a7ca9fc 100644 --- a/src/TortoiseProc/CommitDlg.cpp +++ b/src/TortoiseProc/CommitDlg.cpp @@ -414,13 +414,13 @@ void CCommitDlg::OnOK() CString out; if(uncheckedfiles.GetLength()>0) { - cmd.Format(_T("git.cmd reset -- %s"),uncheckedfiles); + cmd.Format(_T("git.exe reset -- %s"),uncheckedfiles); g_Git.Run(cmd,&out); } if(checkedfiles.GetLength()>0) { - cmd.Format(_T("git.cmd update-index -- %s"),checkedfiles); + cmd.Format(_T("git.exe update-index -- %s"),checkedfiles); g_Git.Run(cmd,&out); CString tempfile=::GetTempFile(); @@ -429,7 +429,7 @@ void CCommitDlg::OnOK() file.Close(); out =_T(""); - cmd.Format(_T("git.cmd commit -F \"%s\""), tempfile); + cmd.Format(_T("git.exe commit -F \"%s\""), tempfile); g_Git.Run(cmd,&out); CFile::Remove(tempfile); @@ -629,7 +629,7 @@ UINT CCommitDlg::StatusThread() // Initialise the list control with the status of the files/folders below us BOOL success = m_ListCtrl.GetStatus(m_pathList); - m_ListCtrl.UpdateFileList(git_revnum_t(GIT_REV_ZERO)); + //m_ListCtrl.UpdateFileList(git_revnum_t(GIT_REV_ZERO)); if(this->m_bShowUnversioned) m_ListCtrl.UpdateFileList(CGitStatusListCtrl::FILELIST_UNVER); @@ -841,6 +841,10 @@ void CCommitDlg::OnBnClickedShowunversioned() dwShow |= SVNSLC_SHOWUNVERSIONED; else dwShow &= ~SVNSLC_SHOWUNVERSIONED; + if(dwShow & SVNSLC_SHOWUNVERSIONED) + { + m_ListCtrl.GetStatus(this->m_pathList,false,false,true); + } m_ListCtrl.Show(dwShow); } }