OSDN Git Service

Add Commit result dlg
authorFrank Li <lznuaa@gmail.com>
Wed, 26 Nov 2008 15:48:43 +0000 (23:48 +0800)
committerFrank Li <lznuaa@gmail.com>
Wed, 26 Nov 2008 15:48:43 +0000 (23:48 +0800)
TortoiseProc/CommitDlg.cpp

index 9318e29..1834900 100644 (file)
@@ -425,6 +425,8 @@ void CCommitDlg::OnOK()
 \r
        cmd.Format(_T("git.cmd commit -m \"%s\""), m_sLogMessage);\r
        g_Git.Run(cmd,&out);\r
+       \r
+       CMessageBox::Show(this->m_hWnd, out, _T("Commit Finish"), MB_YESNO | MB_ICONINFORMATION);\r
 \r
 #if 0\r
        if (m_pathwatcher.GetNumberOfChangedPaths() && m_bRecursive)\r