 {$$, SelectListView} = require 'atom-space-pen-views'
 
-git = require '../git'
+git = require('../git-es').default
 GitShow = require '../models/git-show'
-notifier = require '../notifier'
+ActivityLogger = require('../activity-logger').default
 RemoteListView = require '../views/remote-list-view'
 
 module.exports =

      when 'Show'
        GitShow(@repo, tag)
      when 'Push'
        git.cmd(['remote'], cwd: @repo.getWorkingDirectory())
        .then (data) => new RemoteListView(@repo, data, mode: 'push', tag: @tag)
      when 'Checkout'
        args = ['checkout', tag]
      when 'Verify'

        args = ['tag', '--delete', tag]

    if args?
      git(args, cwd: @repo.getWorkingDirectory())
      .then (result) -> ActivityLogger.record(Object.assign({message: "#{cmd} tag '#{tag}'"}, result))
