Make "Whole project" directory checked by default when the user commits in the root of the project. (not important)
Signed-off-by: Frank Li <lznuaa@gmail.com>
// GitConfig config;\r
// m_bWholeProject = config.KeepLocks();\r
\r
+ if(this->m_pathList.GetCount() == 0)\r
+ m_bWholeProject =true;\r
+ \r
+ if(this->m_pathList.GetCount() == 1 && m_pathList[0].IsEmpty())\r
+ m_bWholeProject =true;\r
+\r
UpdateData(FALSE);\r
\r
m_ListCtrl.Init(SVNSLC_COLEXT | SVNSLC_COLSTATUS | SVNSLC_COLADD |SVNSLC_COLDEL, _T("CommitDlg"));\r