       null
 
   constructor: (path, options={}) ->
-    @emitter = new Emitter
     @subscriptions = new CompositeDisposable
 
     @repo = GitUtils.open(path)

{basename, join} = require 'path'

_ = require 'underscore-plus'
{Emitter, Disposable, CompositeDisposable} = require 'event-kit'
fs = require 'fs-plus'
GitRepositoryAsync = require './git-repository-async'
GitUtils = require 'git-utils'

  # This destroys any tasks and subscriptions and releases the underlying
  # libgit2 repository handle. This method is idempotent.
  destroy: ->
    if @statusTask?
      @statusTask.terminate()
      @statusTask = null
