Do not export TM_SCM_BRANCH

We originally exported this variable for the commit window (to show the branch name in the window title bar). However, the commit window no longer uses this, so stop exporting it.
This commit is contained in:
Ronald Wampler
2014-12-08 23:02:41 -05:00
committed by Allan Odgaard
parent f29f6e414c
commit eeeea76efe

View File

@@ -2631,11 +2631,8 @@ static NSUInteger DisableSessionSavingCount = 0;
auto const& vars = _documentSCMVariables.empty() ? _projectSCMVariables : _documentSCMVariables;
auto scmName = vars.find("TM_SCM_NAME");
auto scmBranch = vars.find("TM_SCM_BRANCH");
if(scmName != vars.end())
res["TM_SCM_NAME"] = scmName->second;
if(scmBranch != vars.end())
res["TM_SCM_BRANCH"] = scmBranch->second;
if(NSString* projectDir = self.projectPath)
{