anchor.diff:          _gitUsername = info['username'];
           _gitPassword = info['password'];
         }
  -      else if (!_showAuthDialog()) {
  +      else  {
  +        _showAuthDialog(context);
           return;
  -        //_hide();
         }
         gitOperations = spark.scmManager.getScmOperationsFor(project);
         gitOperations.getPendingCommits(_gitUsername, _gitPassword).then(
  
positive.code:   }
  
    /// Shows an authentification dialog. Returns false if cancelled.
    bool _showAuthDialog() {
      Timer.run(() {
        // In a timer to let the previous dialog dismiss properly.
        GitAuthenticationDialog.request(spark).then((info) {
          _gitUsername = info['username'];
          _gitPassword = info['password'];
          return true;
        }).catchError((_) {
          // Cancelled authentication:
          return false;
        });
      });
    }
  
negative.code:           commitView.commitInfo = info;
            _commitsList.children.add(commitView);
          });
          Timer.run(() {
            _show();
          });
        }).catchError((e) {
          spark.showErrorMessage('Push failed', 'Something went wrong.');
        });
  