OSDN Git Service

Git Blame Add context menu Action
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Commands / BranchCommand.cpp
index 4abf978..3d14618 100644 (file)
 \r
 bool BranchCommand::Execute()\r
 {\r
 \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
 }\r