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
/
TagCommand.cpp
diff --git
a/src/TortoiseProc/Commands/TagCommand.cpp
b/src/TortoiseProc/Commands/TagCommand.cpp
index
3c2e20d
..
ba9026e
100644
(file)
--- a/
src/TortoiseProc/Commands/TagCommand.cpp
+++ b/
src/TortoiseProc/Commands/TagCommand.cpp
@@
-29,5
+29,10
@@
\r
bool TagCommand::Execute()
\r
{
\r
- return CAppUtils::CreateBranchTag(TRUE);
\r
+ CString base=parser.GetVal(_T("rev"));
\r
+ CString *p=&base;
\r
+ if(base.IsEmpty())
\r
+ p=NULL;
\r
+
\r
+ return CAppUtils::CreateBranchTag(TRUE,p);
\r
}
\r