OSDN Git Service

Fixed Issue #208: During push (from context menu), branches missing from drop down...
authorFrank Li <lznuaa@gmail.com>
Wed, 21 Oct 2009 02:03:42 +0000 (10:03 +0800)
committerFrank Li <lznuaa@gmail.com>
Wed, 21 Oct 2009 02:03:42 +0000 (10:03 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/PushDlg.cpp

index 22557d0..29a64eb 100644 (file)
@@ -161,6 +161,7 @@ void CPushDlg::Refresh()
        int current=0;\r
        list.clear();\r
        m_BranchSource.Reset();\r
        int current=0;\r
        list.clear();\r
        m_BranchSource.Reset();\r
+       m_BranchSource.SetMaxHistoryItems(0x7FFFFFFF);\r
        if(!g_Git.GetBranchList(list,&current))\r
        {\r
                for(unsigned int i=0;i<list.size();i++)\r
        if(!g_Git.GetBranchList(list,&current))\r
        {\r
                for(unsigned int i=0;i<list.size();i++)\r