mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
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:
committed by
Allan Odgaard
parent
f29f6e414c
commit
eeeea76efe
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user