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
Fixed issue #155: Fix SVN Rebase sets upstream as remotes/trunk
[tortoisegit/TortoiseGitJp.git]
/
src
/
TortoiseProc
/
Commands
/
BranchCommand.cpp
diff --git
a/src/TortoiseProc/Commands/BranchCommand.cpp
b/src/TortoiseProc/Commands/BranchCommand.cpp
index
4abf978
..
3d14618
100644
(file)
--- a/
src/TortoiseProc/Commands/BranchCommand.cpp
+++ b/
src/TortoiseProc/Commands/BranchCommand.cpp
@@
-31,5
+31,10
@@
\r
bool BranchCommand::Execute()
\r
{
\r
- return CAppUtils::CreateBranchTag(FALSE);
\r
+ CString base=parser.GetVal(_T("rev"));
\r
+ CString *p=&base;
\r
+ if(base.IsEmpty())
\r
+ p=NULL;
\r
+
\r
+ return CAppUtils::CreateBranchTag(FALSE,p);
\r
}
\r