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
Add Shell Notification at add, cleanup and remove and rename, CommitDlg.cpp
[tortoisegit/TortoiseGitJp.git]
/
src
/
TortoiseProc
/
Commands
/
SwitchCommand.cpp
diff --git
a/src/TortoiseProc/Commands/SwitchCommand.cpp
b/src/TortoiseProc/Commands/SwitchCommand.cpp
index
5582227
..
551d663
100644
(file)
--- a/
src/TortoiseProc/Commands/SwitchCommand.cpp
+++ b/
src/TortoiseProc/Commands/SwitchCommand.cpp
@@
-26,5
+26,10
@@
\r
bool SwitchCommand::Execute()
\r
{
\r
- return CAppUtils::CreateBranchTag(NULL);
\r
+ CString base=parser.GetVal(_T("rev"));
\r
+ CString *p=&base;
\r
+ if(base.IsEmpty())
\r
+ p=NULL;
\r
+
\r
+ return CAppUtils::Switch(p);
\r
}
\r