OSDN Git Service
(root)
/
tortoisegit
/
TortoiseGitJp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix issue 17 Switch should default branch to current branch
[tortoisegit/TortoiseGitJp.git]
/
src
/
TortoiseProc
/
PushDlg.cpp
diff --git
a/src/TortoiseProc/PushDlg.cpp
b/src/TortoiseProc/PushDlg.cpp
index
693dd5f
..
8f35c3d
100644
(file)
--- a/
src/TortoiseProc/PushDlg.cpp
+++ b/
src/TortoiseProc/PushDlg.cpp
@@
-78,6
+78,7
@@
BOOL CPushDlg::OnInitDialog()
}
\r
\r
int current=0;
\r
+ list.clear();
\r
if(!g_Git.GetBranchList(list,¤t))
\r
{
\r
for(unsigned int i=0;i<list.size();i++)
\r