     @configSubscription?.dispose()
     @vcsConfigSubscription?.dispose()
     @savedSubscription?.dispose()
-    @subscriptions?.dispose()
+    @repoSubscriptions?.dispose()
     @destroyTooltip()
     @remove()
 

    return unless repo?

    # Remove previous repo subscriptions.
    @subscriptions?.dispose()

    @subscriptions.add repo.onDidChangeStatus (event) =>
      @updateVcsStatus(repo, event.pathStatus) if event.path is @path
    @subscriptions.add repo.onDidChangeStatuses =>
      @updateVcsStatus(repo)

  repoForPath: (goalPath) ->

  initialize: (@item) ->
    @path = @item.getPath?()

    @repoSubscriptions = new CompositeDisposable()

    @isPreviewTab = atom.config.get('tabs.usePreviewTabs') and typeof @item.getPath is 'function'

