anchor.diff:      actionManager.registerAction(new ApplicationRunAction.run(this));
       actionManager.registerAction(new ApplicationRunAction.deploy(this));
       actionManager.registerAction(new CompileDartAction(this));
  -    actionManager.registerAction(new GitCloneAction(this, getDialogElement("#gitCloneDialog")));
  +    actionManager.registerAction(new GitCloneAction(this,
  +        getDialogElement("#gitCloneDialog")));
       if (SparkFlags.gitPull) {
  -      actionManager.registerAction(new GitMergeAction(this, getDialogElement("#gitMergeDialog")));
  -      actionManager.registerAction(new GitPullAction(this, getDialogElement('#statusDialog')));
  -    }
  -    actionManager.registerAction(new GitBranchAction(this, getDialogElement("#gitBranchDialog")));
  -    actionManager.registerAction(new GitCheckoutAction(this, getDialogElement("#gitCheckoutDialog")));
  -    actionManager.registerAction(new GitAddAction(this, getDialogElement('#statusDialog')));
  +      actionManager.registerAction(new GitMergeAction(this,
  +          getDialogElement("#gitMergeDialog")));
  +      actionManager.registerAction(new GitPullAction(this,
  +          getDialogElement('#statusDialog')));
  +    }
  +    actionManager.registerAction(new GitBranchAction(this,
  +        getDialogElement("#gitBranchDialog")));
  +    actionManager.registerAction(new GitCheckoutAction(this,
  +        getDialogElement("#gitCheckoutDialog")));
  +    actionManager.registerAction(new GitAddAction(this,
  +        getDialogElement('#statusDialog')));
       actionManager.registerAction(new GitResolveConflictsAction(this));
  -    actionManager.registerAction(new GitCommitAction(this, getDialogElement("#gitCommitDialog")));
  +    actionManager.registerAction(new GitCommitAction(this,
  +        getDialogElement("#gitCommitDialog")));
       actionManager.registerAction(new GitRevertChangesAction(this));
  -    actionManager.registerAction(new GitPushAction(this, getDialogElement("#gitPushDialog")));
  +    actionManager.registerAction(new GitPushAction(this,
  +        getDialogElement("#gitPushDialog")));
       actionManager.registerAction(new RunTestsAction(this));
  -    actionManager.registerAction(new SettingsAction(this, getDialogElement('#settingsDialog')));
  -    actionManager.registerAction(new AboutSparkAction(this, getDialogElement('#aboutDialog')));
  -    actionManager.registerAction(new FileRenameAction(this, getDialogElement('#renameDialog')));
  +    actionManager.registerAction(new SettingsAction(this,
  +        getDialogElement('#settingsDialog')));
  +    actionManager.registerAction(new AboutSparkAction(this,
  +        getDialogElement('#aboutDialog')));
  +    actionManager.registerAction(new FileRenameAction(this,
  +        getDialogElement('#renameDialog')));
       actionManager.registerAction(new ResourceRefreshAction(this));
       // The top-level 'Close' action is removed for now: #1037.
       //actionManager.registerAction(new ResourceCloseAction(this));
  
positive.code:   bool appliesTo(context) => _isScmProject(context);
  }
  
  class GitCommitAction extends SparkActionWithProgressDialog implements ContextAction {
    ws.Project project;
    GitScmProjectOperations gitOperations;
    TextAreaElement _commitMessageElement;
  
negative.code:    * Refreshes the file name on an opened editor tab.
     */
    void _renameOpenEditor(ws.Resource renamedResource) {
      if (renamedResource is ws.File &&
          editorManager.isFileOpened(renamedResource)) {
        editorArea.renameFile(renamedResource);
      }
    }
  