OSDN Git Service

Fix Branch\Tag List 25 limitation
authorFrank Li <lznuaa@gmail.com>
Fri, 16 Jan 2009 15:04:00 +0000 (23:04 +0800)
committerFrank Li <lznuaa@gmail.com>
Fri, 16 Jan 2009 15:04:00 +0000 (23:04 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/ChooseVersion.h

index 128fec0..4d74f79 100644 (file)
@@ -3,6 +3,8 @@
 \r
 class CChooseVersion\r
 {\r
+public:\r
+       \r
 private:\r
        CWnd *  m_pWin;\r
 protected:\r
@@ -57,7 +59,10 @@ protected:
        }\r
 \r
        void Init()\r
-       {\r
+       {       \r
+               m_ChooseVersioinBranch.SetMaxHistoryItems(0x7FFFFFFF);\r
+               m_ChooseVersioinTags.SetMaxHistoryItems(0x7FFFFFFF);\r
+\r
                STRING_VECTOR list;\r
                g_Git.GetTagList(list);\r
                m_ChooseVersioinTags.AddString(list);\r
@@ -67,6 +72,8 @@ protected:
                g_Git.GetBranchList(list,&current,CGit::BRANCH_ALL);\r
                m_ChooseVersioinBranch.AddString(list);\r
                m_ChooseVersioinBranch.SetCurSel(current);\r
+\r
+\r
        }\r
 public:                                        \r
        CString m_VersionName;\r