         @wordwrap(message),
         data.indexTree,
         parents)
-    .then =>
-      @emitter.emit('did-update-repository')
 
   parseHeader: (header) ->
     headerParts =

      data.index.removeByPath(oldPath) if oldPath != newPath
      data.index.add(entry)
      data.index.write()
    .then =>
      @emitter.emit('did-update-repository')
    .catch (error) ->
      console.log error.message
      console.log error.stack

            ""
      else
        ""
