OSDN Git Service

Git Blame Add context menu Action
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Commands / TagCommand.cpp
index 3c2e20d..ba9026e 100644 (file)
 \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